[SuSE Linux] Ownership of tar archive members
I learned on this list that the '-p' option is used to retain permissions. How does one make sure that _ownership_ info is preserved as well? How does a tar archive store such info? Is it necessary to have a file, say in /etc, that tar uses that lists id numbers and ownership names? 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 Wed, Feb 10, 1999 at 14:59 -0500, Howard Arons wrote:
I learned on this list that the '-p' option is used to retain permissions.
How does one make sure that _ownership_ info is preserved as well?
Just tried it, tar extracts the files automatically with the proper ownerships. If you want to be sure you can use the --same-owner option when extracting.
How does a tar archive store such info? Is it necessary to have a file, say in /etc, that tar uses that lists id numbers and ownership names?
The info is stored inside the archive. Just have a look at it with tar -tvf some_archive.tar Ciao, Stefan Btw. there is also a nice info page with far more than you've ever wanted to know about tar ;-) - 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 Feb 11, 1999, Stefan Troeger wrote:
Btw. there is also a nice info page with far more than you've ever wanted to know about tar ;-)
Ah, that's just the problem :-) <rant> Info pages are an invention of the devil, as far as I'm concerned. In the SuSE 5.2 (English) distro, the pages are strewn with distracting editorial asides ("This shouldn't be here in the final copy") and organized into painfully tortured sections connected by "pseudo- hyperlinks." If one already knows; e.g., tar, backward and forward maybe the info pages will call some vaguely-remembered option to mind, but for actually learning to use the command, forget it. I (for one) learn linearly, so the 'man' pages were ideal. If only we weren't so web obsessed. Sigh. </rant> OK, purists, flame away. Howard Arons PS. All the above notwithstanding, thanks for your informative response. H -- 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>>
I mostly agree. There should be up-to-date man-pages available for all commands and special files. (Did you remember the fstab man-page in 6.0 SuSE?) I like being able to simply scroll up and down through the page, so I can quickly find the option I need. However, I think info can be good for when I want to sit and read, but for quick look-ups - no way. Regards Ole On Fri, 12 Feb 1999, Howard Arons wrote:
On Feb 11, 1999, Stefan Troeger wrote:
Btw. there is also a nice info page with far more than you've ever wanted to know about tar ;-)
Ah, that's just the problem :-)
<rant> Info pages are an invention of the devil, as far as I'm concerned. In the SuSE 5.2 (English) distro, the pages are strewn with distracting editorial asides ("This shouldn't be here in the final copy") and organized into painfully tortured sections connected by "pseudo- hyperlinks." If one already knows; e.g., tar, backward and forward maybe the info pages will call some vaguely-remembered option to mind, but for actually learning to use the command, forget it.
I (for one) learn linearly, so the 'man' pages were ideal. If only we weren't so web obsessed. Sigh. </rant>
OK, purists, flame away.
Howard Arons PS. All the above notwithstanding, thanks for your informative response. H -- 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>>
- 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 Fri, Feb 12, 1999 at 20:39 +0000, Ole Kofoed Hansen wrote:
I like being able to simply scroll up and down through the page, so I can quickly find the option I need.
I use `info --subnodes tar |less' for that. It's still not like the good old man pages, but it allows me to search the whole info page for interesting options. 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 (3)
-
hlarons@ComCAT.COM
-
k01164@ko.hhs.dk
-
stefan.troeger@wirtschaft.tu-chemnitz.de