home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / aux / 3439 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!sun-barr!ames!nsisrv!jagubox!jim
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Subject: Re: tar
  5. Message-ID: <1095@jagubox.gsfc.nasa.gov>
  6. Lines: 30
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: jagubox.gsfc.nasa.gov
  9. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  10. Organization: NASA/Goddard Space Flight Center
  11. References: <DPASSAGE.92Sep11205455@eden.CS.Berkeley.EDU>
  12. Date: Sat, 12 Sep 1992 13:48:59 GMT
  13.  
  14. dpassage@eden.CS.Berkeley.EDU (David Paschich) writes:
  15.  
  16. >Is it just me, or is tar _really way broken_ on A/UX 3.0?
  17.  
  18. >I installed 3.0 on my Mac IIsi today, grabbed useful things (like the
  19. >UUCP fix, emacs, etc) using Zterm :), copied them over to the unix
  20. >filesystem, did the fcnvt thing, etc, etc...
  21.  
  22. >And when I go to extract the tar files, the files tar creates get set
  23. >to really obnoxious foreign user id's.
  24.  
  25. >This seems just really _broken_ to me.  I'm not doing the extractions
  26. >as root, and every other unix system I've used has created the files
  27. >with the uid of the person doing the extraction.  In fact, every other
  28. >unix I've used has prevented normal users from creating files owned by
  29. >others.
  30.  
  31. The answer is that if you want the owner/group ID's to be that of
  32. the running process and _not_ that of the original archive, you must
  33. add the '-o' option... Think about it; if tar always reset the UID/GID to
  34. the running process, using it for system backup _and recovery_ would
  35. be a royal pain in the butt... after restoring files root would need to
  36. completely restore all the UIDs/GIDs if he/she even knew what they were...
  37.  
  38. Ack!
  39. -- 
  40.     Jim Jagielski               | "This is supposed to be a happy occasion.
  41.     jim@jagubox.gsfc.nasa.gov   |  Let's not bicker and argue about who
  42.     NASA/GSFC, Code 734.4       |  killed who."
  43.     Greenbelt, MD 20771         |
  44.