From owner-freebsd-questions Wed Oct 7 20:37:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA05852 for freebsd-questions-outgoing; Wed, 7 Oct 1998 20:37:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from abc.xyz.net (froggy.anchorage.ptialaska.net [208.151.119.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA05842 for ; Wed, 7 Oct 1998 20:37:00 -0700 (PDT) (envelope-from groggy@iname.com) Received: from localhost (localhost [127.0.0.1]) by abc.xyz.net (8.8.8/8.8.8) with SMTP id QAA08925; Tue, 6 Oct 1998 16:47:57 -0800 (AKDT) (envelope-from groggy@iname.com) Date: Tue, 6 Oct 1998 16:47:57 -0800 (AKDT) From: Steve Howe X-Sender: abc@abc.xyz.net To: Woodchuck cc: freebsd-questions Subject: Re: Change Unix boxes In-Reply-To: <199810060936.FAA12464@castor.chuck> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > if the box you are planning to move things to does > > not have the appropriate groups, then the groups > > can't be created when you extract the archive. > > Untrue. > > Groups are /numbers/ (gids) not names. /etc/group just translates those > numbers to names. The tar archive stores the gids > > Try it: > > # touch foo > # chown 1234.4321 foo > > Or other uid/gids that don't exist on the system. then tar it. rm it. > then extract it. do a ls -l > > Then make group 4321 in /etc/group, do the ls -l again. right, i should have said "group names" instead of "groups". nevertheless, it is something to watch out for. i ran into this with ppp before "network" was in the default /etc/groups file, and wondered where my "network" was in my ls -l listings. same with cgi-bin, etc - though it didn't stop things from working. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message