[SuSE Linux] Permission Errors from tar Archive
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>>
Help me please! I had installed SuSE 5.3 successfully a few months back and loved it. I bought another hard drive and decided to reinstall SuSE. Only difference from the first time was I didn't have the original floppy that SuSE sent me. I made my own install floppies and then I ran into two problems: 1) The menu's in afterstep were in German ! 2) The setup of the window managers and menus (other than KDE's) was not like my intial installation i.e the window managers and menu's etc were nicely preconfigured in my initial install. Not so now! I would rather start from a nice config. and customize it rather than start from scratch. Thanks for all your help! Jacob. - 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>>
Do you have a cd-rom? Can you set up your bios to boot from cd-rom? If you can why not take that approach? Also, did you receive the replacement disk(CD #1) for 5.3? I just upgraded from 5.2 to 5.3 so never experienced the problems 5.3 was supposed to have(I would imagine the age of your 5.3, i.e. early release versus later release would determine if that were the problem. Just a thought... Regards, Bob So great is my veneration for the Bible that the earlier my children begin to read it, the more confident will be my hopes that they will prove useful citizens to their country and respectable members of society. - John Quincy Adams. Jacob Daniel wrote:
Help me please!
I had installed SuSE 5.3 successfully a few months back and loved it. I bought another hard drive and decided to reinstall SuSE. Only difference from the first time was I didn't have the original floppy that SuSE sent me. I made my own install floppies and then I ran into two problems: 1) The menu's in afterstep were in German ! 2) The setup of the window managers and menus (other than KDE's) was not like my intial installation i.e the window managers and menu's etc were nicely preconfigured in my initial install. Not so now! I would rather start from a nice config. and customize it rather than start from scratch.
Thanks for all your help! Jacob.
- 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>>
- 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, On Thu, Jan 28, 1999 at 12:05 -0500, Howard Arons wrote:
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.
Just use the -p option when extracting the archive. Then tar will restore the file permissions correctly. Ciao, Stefan - 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>>
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>>
On Jan 28, 1999, Howard Arons wrote: ...
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?
First, sincere thanks to S Troeger and K Murphy for your responses. I read the tar info, and noted the '-p' option, but never truly understood it--my experiments with tar always seemed to restore the permissions correctly. That was just happenstance, I guess, demonstrating yet again that most the excercise I get is jumping to conclusions. <shameless_flattery> I'd also like to add a personal note in praise of Stefan Troeger--your posts here and on other lists are always models of clarity, brevity and utility. I admire and respect that. </shameless_flattery> 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, On Sat, Jan 30, 1999 at 14:44 -0500, Howard Arons wrote:
<shameless_flattery> I'd also like to add a personal note in praise of Stefan Troeger--your posts here and on other lists are always models of clarity, brevity and utility. I admire and respect that. </shameless_flattery>
<blush> Umm, ähm, thanks :-) </blush> Ciao, Stefan - 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 (5)
-
hlarons@ComCAT.COM
-
jdaniel@mail.browser.net
-
kevinm@icl.co.za
-
risch@tir.com
-
stefan.troeger@wirtschaft.tu-chemnitz.de