Re: [SuSE Linux] Permission Errors from tar Archive
+----- On Thu, 28 Jan 1999 12:05:21 EST, Howard Arons writes: | | 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? The p flag effectively sets umask to 0, you should always use it for such tasks. Strangely this is implied in Sun's tar when run as root but apparently not in GNU's. /Michael - 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>>
participants (1)
-
Michael.Salmon@uab.ericsson.se