home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!agate!overload.lbl.gov!lll-winken!taurus!larsonb
- From: larsonb@taurus.cs.nps.navy.mil (ben larson)
- Newsgroups: comp.unix.questions
- Subject: Re: tar xvfm Permission Denied problem
- Keywords: tar
- Message-ID: <5790@taurus.cs.nps.navy.mil>
- Date: 30 Jul 92 02:12:22 GMT
- References: <5707@taurus.cs.nps.navy.mil> <Brw8vq.AKn@magna.com>
- Reply-To: larsonb@cs.nps.navy.mil (ben larson)
- Distribution: usa
- Organization: Naval Postgraduate School, Monterey CA
- Lines: 36
-
- In article <Brw8vq.AKn@magna.com> you write:
- >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
- >>
- >>etc.
-
- >etc....
- >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
-
- Thanks to all those who sent me messages. The -o flag did not work but
- one of our folks did figure out the problem which I am not able to
- explain in detail. The problem was the directory was mounted using NFS
- and the permissions were wrong. Still tar could not restore the files
- directly. We had to copy them to a local device first and then move
- them to the NFS mounted directory.
-
- If anyone knows of a better solution, please let me know. One person
- suggested using the GNU version of tar. Does anyone know if this sort
- of problem could be handled by GNU tar? Unfortunately, due to the
- security level of our system, we are not able to practically install
- non-vendor software--but that's a different issue.
-
-
- ----------
- Ben Larson, Captain, USAF
- USSTRATCOM/J625DWG
- Email: larsonb@cs.nps.navy.mil
-