Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!zehntel!dual!amd!fortune!wdl1!jrb From: jrb@wdl1.UUCP (jrb ) Newsgroups: net.unix Subject: Re: WANTED:SYS V tar to read Berkeley ta Message-ID: <379@wdl1.UUCP> Date: Fri, 3-Aug-84 15:24:34 EDT Article-I.D.: wdl1.379 Posted: Fri Aug 3 15:24:34 1984 Date-Received: Sun, 5-Aug-84 06:10:53 EDT Lines: 15 Nf-ID: #R:hudson:-26100:wdl1:1300008:000:826 Nf-From: wdl1!jrb Aug 3 11:10:00 1984 There should be no differences between the formats used by System V tar and Berkeley tar. The problem may be that System V tar always does a chown on each file to the UID that is stored on the tape. If it comes from a different system, the UID on the tape is probably not your UID. This means that it can create directories that it cannot write in. Berkeley tar, however, leaves everything owned by you as default and you can use a flag to force the other behaviour. If you have source, there are two lines in System V tar which need to be changed (grep for chown in the source). I added a flag and put the two lines in if()s on that flag. If you don't have the source, a superuser can read in the tape. Very annoying. John R Blaker UUCP: ...!fortune!wdl1!jrb ARPA: jrb@FORD-WDL1 and blaker@FORD-WDL2