home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9558 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.8 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!agate!overload.lbl.gov!lll-winken!taurus!larsonb
  2. From: larsonb@taurus.cs.nps.navy.mil (ben larson)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: tar xvfm Permission Denied problem
  5. Keywords: tar
  6. Message-ID: <5790@taurus.cs.nps.navy.mil>
  7. Date: 30 Jul 92 02:12:22 GMT
  8. References: <5707@taurus.cs.nps.navy.mil> <Brw8vq.AKn@magna.com>
  9. Reply-To: larsonb@cs.nps.navy.mil (ben larson)
  10. Distribution: usa
  11. Organization: Naval Postgraduate School, Monterey CA
  12. Lines: 36
  13.  
  14. In article <Brw8vq.AKn@magna.com> you write:
  15. >In article <5707@taurus.cs.nps.navy.mil> larsonb@taurus.cs.nps.navy.mil writes:
  16. >>We're trying to retrieve a number of files from an 8mm tape using tar
  17. >>but are having trouble with permissions.  The command we use is:
  18. >>
  19. >>    tar -xvfm /dev/rst1
  20. >>
  21. >>etc.
  22.  
  23. >etc....
  24. >See what happens with the "-o" option to 'tar' which should take on
  25. >the attributes of the user doing the extract rather than those written
  26. >to the tape as is the default...
  27. >
  28. >Regards and Good Luck !
  29. >
  30. >-- Doc
  31.  
  32. Thanks to all those who sent me messages.  The -o flag did not work but
  33. one of our folks did figure out the problem which I am not able to 
  34. explain in detail.  The problem was the directory was mounted using NFS
  35. and the permissions were wrong.  Still tar could not restore the files
  36. directly.  We had to copy them to a local device first and then move 
  37. them to the NFS mounted directory. 
  38.  
  39. If anyone knows of a better solution, please let me know.  One person
  40. suggested using the GNU version of tar.  Does anyone know if this sort
  41. of problem could be handled by GNU tar?  Unfortunately, due to the
  42. security level of our system, we are not able to practically install
  43. non-vendor software--but that's a different issue.
  44.  
  45.  
  46. ----------
  47. Ben Larson, Captain, USAF
  48. USSTRATCOM/J625DWG
  49. Email:  larsonb@cs.nps.navy.mil
  50.