restore tar archives with different uid?

Thomas Omerzu omerzu at quando.quantum.de
Thu Aug 23 00:14:49 AEST 1990


In article <1740 at yenta.alb.nm.us> dt at yenta.alb.nm.us (David B. Thomas) writes:

>Is there a way to restore a tar archive, but force all the files
>thus created to be owned by you?

Well David,

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.



-- 
*-----------------------------------------------------------------------------*
Thomas Omerzu      UUCP:     ...!unido!quando!omerzu / omerzu at quando.uucp
  Quantum GmbH,    Bitnet:   UNIDO!quando!omerzu / omerzu%quando at UNIDO(.bitnet)
Dortmund, Germany  Internet: omerzu at quando.quantum.de



More information about the Comp.unix.wizards mailing list