Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!unido!quando!omerzu From: omerzu@quando.quantum.de (Thomas Omerzu) Newsgroups: comp.unix.wizards Subject: Re: restore tar archives with different uid? Message-ID: <1674@quando.quantum.de> Date: 22 Aug 90 14:14:49 GMT References: <1740@yenta.alb.nm.us> Reply-To: omerzu@quando.quantum.de (Thomas Omerzu) Distribution: comp Organization: Quantum GmbH, Dortmund, W-Germany Lines: 24 In article <1740@yenta.alb.nm.us> dt@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@quando.uucp Quantum GmbH, Bitnet: UNIDO!quando!omerzu / omerzu%quando@UNIDO(.bitnet) Dortmund, Germany Internet: omerzu@quando.quantum.de