home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / admin / 6795 < prev    next >
Encoding:
Text File  |  1992-12-26  |  1.1 KB  |  25 lines

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