WANTED:SYS V tar to read Berkeley ta

jrb jrb at wdl1.UUCP
Sat Aug 4 05:24:34 AEST 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 at FORD-WDL1
				and	blaker at FORD-WDL2



More information about the Comp.unix mailing list