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 majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
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 majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>