From: Andrew <andy@ust.msk.rsnet.ru>
To: Sergey Vlasov <community@altlinux.ru>
Subject: Re[2]: [Comm] Результат клонирования :-(
Date: Thu, 12 Aug 2004 12:39:02 -0700
Message-ID: <1452259537.20040812123902@ust.msk.rsnet.ru> (raw)
In-Reply-To: <20040811131820.GB15860@master.mivlgu.local>
Hello Sergey,
Wednesday, August 11, 2004, 6:18:21 AM, you wrote:
SV> On Wed, Aug 11, 2004 at 04:04:21PM +0300, Dolgov OV wrote:
>> Подключил оба винта мастерами (hda - новый, hdc - старый), загрузился с
>> первого cd Master-2.2 в rescue режиме, подмонтировал оба раздела в
>> соседние папки /mnt/hda и /mnt/hdc
>>
>> # cd /mnt/hdc
>> #tar -cf - ./* | tar -xf - -C /mnt/hda
SV> Во втором вызове tar ещё нужна была опция -p - без неё права доступа
SV> восстанавливаются не полностью.
SV> Для файлов из пакетов можно найти несоответствия с помощью rpm --verify и
SV> исправить с помощью rpm --setperms (и rpm --setugids, хотя в данном случае
SV> это не понадобится - tar без -p ставит uid/gid нормально, обрезаются
SV> только права доступа по umask).
При подобном копировании /etc/passwd на работающей системе (на CD) и
/etc/passwd на копируемой системе должны быть идентичны, иначе права
собьются. Например, на работающей системе есть andy uid 500. Если на
копируемой системе есть andy с другим uid-ом, то все файлы этого andy
заменятся на uid 500.
--
Best regards,
Andrew mailto:andy@ust.msk.rsnet.ru
next prev parent reply other threads:[~2004-08-12 19:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-11 13:04 Dolgov OV
2004-08-11 13:18 ` Sergey Vlasov
2004-08-11 13:26 ` Dolgov OV
2004-08-11 13:44 ` Sergey Vlasov
2004-08-12 9:48 ` Dolgov OV
2004-08-12 11:24 ` Andrey Rahmatullin
2004-08-12 11:21 ` Dolgov OV
2004-08-12 11:44 ` Sergey Vlasov
2004-08-11 13:51 ` Andrey Rahmatullin
2004-08-12 19:39 ` Andrew [this message]
2004-08-11 15:30 ` [Comm] " Michael Shigorin
2004-08-12 5:24 ` Yakov Hrebtov
2004-08-12 6:00 ` Michael Shigorin
2004-08-12 8:08 ` Dolgov OV
2004-08-12 10:34 ` Michael Shigorin
2004-08-12 11:22 ` Alexei Takaseev
2004-08-12 14:25 ` [Comm] " Dolgov OV
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452259537.20040812123902@ust.msk.rsnet.ru \
--to=andy@ust.msk.rsnet.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git