On Thu, 28 Jan 1999, you wrote:
>I just tarred my '/' partition to my /opt partition on HDD 0, removed the 
>HDD (HDD 1) it resided on and replaced it with a new HDD 0 containing a 
>bigger '/' space, and untarred the '/' archive to the new partition. 
>The newly installed '/' fs booted up and runs, but not without a small 
>problem:
>
>The permissions for some directories and files were not restored 
>correctly. Problem seems to be write access for "others," where it had 
>been set. Example: /dev/null; some files in /var/spool/mail.
>
>Why did this happen, or better, what should I have done during 'tar -c' 
>or 'tar -x' to prevent it? Is this a 'umask' problem?
>
>Howard Arons
>-- 
>Powered by SuSE Linux 5.2 -- kernel 2.0.33
>Communications by Mutt 0.93.2
>-
>To get out of this list, please send email to [EMAIL PROTECTED] with
>this text in its body: unsubscribe suse-linux-e
>Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
>archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Hi
Try the -p option in tar
this should restore the same ownership and permissions

Kevin
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to