From owner-freebsd-questions Mon Aug 18 17:00:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA26337 for questions-outgoing; Mon, 18 Aug 1997 17:00:27 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA26331 for ; Mon, 18 Aug 1997 17:00:23 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id AAA07675; Tue, 19 Aug 1997 00:00:15 GMT Date: Mon, 18 Aug 1997 17:00:15 -0700 (PDT) From: Dan Busarow To: Jebudas cc: questions@FreeBSD.ORG Subject: Re: tar -xvf / chown In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 18 Aug 1997, Jebudas wrote: > I downloaded sendmail.8.8.7.tar.gz and after I gunzipped it, I did: > tar -xvf sendma* > > For some reason, the ownership and group of the file were this: > drwxr-xr-x 30034 username1 sendmail-8.8.7 When you untar an archive as root, tar tries to preserve ownership. If the owner doesn't exist on your system tar uses the numeric user id for owner and group. Normally you want to do everything possible as a non-root user, including untaring archives that don't contain absolute pathnames. To fix your problem now run chgrp -R me.mygroup ./* in the sendmail directory. (as root :) Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82