restore tar archives with different uid?

John H Merritt merritt at iris613.gsfc.nasa.gov
Thu Aug 23 03:15:31 AEST 1990


In article <1674 at quando.quantum.de> omerzu at quando.quantum.de (Thomas Omerzu) writes:
>that depends on the version of 'tar' you're using.
>A BSD-based tar does do that by default, whereas an ATT-tar
>has got the 'o'-option.
>
>TFM reads:
>          o       Causes extracted files to take on the user and group
>                  identifier of the user running the program rather
>                  than those on the tape.
>
And in our IRIX (SGI's Unix):

		o		Do not chown (or chgrp) files.

Keep the owner and group that's on the tape, or don't change the
extracted files to the owner and group that's on the tape?  You have
to run this once to determine what it really does.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John H. Merritt                   #  Yesterday I knew nothing,
Applied Research Corporation      #  Today I know that.
merritt at iris613.gsfc.nasa.gov     #



More information about the Comp.unix.wizards mailing list