Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 1997 17:00:15 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Jebudas <jebudas@elektra.virgil.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: tar -xvf / chown
Message-ID:  <Pine.UW2.3.95.970818165531.7651A-100000@cedb>
In-Reply-To: <Pine.BSF.3.91.970818144750.172A-100000@elektra.virgil.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970818165531.7651A-100000>