From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 16:27:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40CEE16A4CE for ; Thu, 11 Nov 2004 16:27:07 +0000 (GMT) Received: from debian.akroteq.com (rdbck-static-72.palmer.mtaonline.net [12.17.141.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D4A843D31 for ; Thu, 11 Nov 2004 16:27:07 +0000 (GMT) (envelope-from andy@firman.us) Received: from andy by debian.akroteq.com with local (Exim 4.34) id 1CSHms-0004O6-CT for freebsd-questions@freebsd.org; Thu, 11 Nov 2004 07:27:06 -0900 Date: Thu, 11 Nov 2004 07:27:06 -0900 From: Andy Firman To: freebsd-questions@freebsd.org Message-ID: <20041111162706.GB16306@akroteq.com> References: <20041111154455.GA15623@akroteq.com> <20041111155254.GB4702@dan.emsphone.com> <20041111155812.GA16154@akroteq.com> <20041111161137.GC4702@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041111161137.GC4702@dan.emsphone.com> User-Agent: Mutt/1.5.6i Subject: Re: unpacking as root gives weird ownership... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 16:27:07 -0000 On Thu, Nov 11, 2004 at 10:11:37AM -0600, Dan Nelson wrote: > In the last episode (Nov 11), Andy Firman said: > > On Thu, Nov 11, 2004 at 09:52:55AM -0600, Dan Nelson wrote: > > > > Why wouldn't it unpack with root, wheel ownership? > > > > > > Tarfiles extracted as root preserve the original ownership of the > > > files. You can use the -o flag to make all the extracted files > > > owned by root. > > > > Hmm. I am Linux guy getting into FreeBSD. This is new to me and this > > doesn't happen on any Linux flavor I have been on. > > It's been standard procedure for tar as far back as I can remember, on > all OSes. You are right. I spoke too quickly as I am just starting to work as root more and more. Normally everything is done with sudo. When I use the -o switch it still won't unpack as root:wheel. Doesn't really matter, just being curious. Thanks, Andy