Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!ncar!noao!asuvax!anasaz!chad From: chad@anasaz.UUCP (Chad R. Larson) Newsgroups: comp.unix.wizards Subject: Re: restore tar archives with different uid? Message-ID: <2932@anasaz.UUCP> Date: 25 Aug 90 07:23:27 GMT References: <1740@yenta.alb.nm.us> Reply-To: chad@anasaz.UUCP (Chad R. Larson) Distribution: comp Organization: Anasazi, Inc. Lines: 17 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, you don't tell which version of tar you are playing with (DOS? SysV? BSD?), but it sure sounds like a RTFM question to me. SysVr3.2 TAR(1) partial extract, speaking of key arguments: "o" - Causes the extracted files to assume the owner and group ID of the user running the program rather than those on the archive tape. -- Chad R. Larson ...{mcdphx,asuvax}!anasaz!chad or chad@anasaz.UUCP Anasazi, Inc. - 7500 North Dreamy Draw Drive, Suite 120, Phoenix, Az 85020 (602) 870-3330 "I read the news today, oh boy!" -- John Lennon