home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!wupost!udel!princeton!siemens!aad
- From: aad@siemens.com (Anthony Datri)
- Subject: Re: How to move a filesytem?
- Message-ID: <1992Dec26.004223.18327@siemens.com>
- Sender: news@siemens.com (NeTnEwS)
- Nntp-Posting-Host: lovecraft
- Organization: Siemens Corporate Research, Princeton (Plainsboro), NJ
- References: <BzFBx0.ECD@encore.com> <1992Dec18.110817.6773@ghost.dsi.unimi.it> <1992Dec18.110958.25712@sei.cmu.edu>
- Date: Sat, 26 Dec 1992 00:42:23 GMT
- Lines: 12
-
- >I always use -p option to the second tar, so that permissions and
- >ownerships are set correctly. According to the man page, not using the
- >-p option will cause the files to be restored with the current umask,
- >and setUID and stickey information are also preserved.
-
- Most of the tars that I've seen default to p when run as root.
-
- I suggest not using a - with tar -- I haven't seen a tar that *needs* -
- in front of its keys, but have seen at least one that won't take it.
- --
-
- ======================================================================8--<
-