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