home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9380 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!magna!doc
  3. From: doc@magna.com (Matthew J. D'Errico)
  4. Subject: Re: tar xvfm Permission Denied problem
  5. Message-ID: <Brw8vq.AKn@magna.com>
  6. Keywords: tar
  7. Organization: Magna Software Corporation
  8. References: <5707@taurus.cs.nps.navy.mil>
  9. Distribution: usa
  10. Date: Fri, 24 Jul 1992 12:47:49 GMT
  11. Lines: 35
  12.  
  13. In article <5707@taurus.cs.nps.navy.mil> larsonb@taurus.cs.nps.navy.mil writes:
  14. >We're trying to retrieve a number of files from an 8mm tape using tar
  15. >but are having trouble with permissions.  The command we use is:
  16. >
  17. >    tar -xvfm /dev/rst1
  18. >
  19. >The files were saved by another organization with the user number of 151
  20. >and we have no such user on our system.  We can extract the files that
  21. >have rwxrwxrwx permissions but cannot extract those with rwxrwxr-x
  22. >permissions--even when logged in as root.  The error message is:
  23. >     Permission Denied.
  24. >A file is created but contains 0 bytes.  Then tar terminates.
  25. >
  26. >Any help would be greatly appreciated.
  27.  
  28. I find it difficult to believe that you get this error even when
  29. logged in as root...  Unless you don't have "x" permissions set on
  30. the parent directory in which you're doing the extraction (I've seen
  31. this anomoly on some systems)...
  32.  
  33. See what happens with the "-o" option to 'tar' which should take on
  34. the attributes of the user doing the extract rather than those written
  35. to the tape as is the default...
  36.  
  37. Regards and Good Luck !
  38.  
  39. -- Doc
  40. +-------------------------------+---------------------------------------+
  41. |    Matthew J. D'Errico    | DOMAIN:    mderrico@magna.com    |
  42. | Magna Software Corporation    | uucp:        uunet!magna!mderrico    |
  43. |     275 Seventh Avenue    | CompuServe:    70744,3405        |
  44. |     20th Floor        +---------------------------------------+
  45. |    New York, NY   10001    |    Voice    : 212 / 727 - 6737    |
  46. |        USA            |    Fax    : 212 / 691 - 1968    |
  47. +-------------------------------+---------------------------------------+
  48.