Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 05:36:35 -0400 (EDT)
From:      "Woodchuck"  <djv@bedford.net>
To:        groggy@iname.com (Steve Howe)
Cc:        acampble@panama.c-com.net, freebsd-questions@FreeBSD.ORG
Subject:   Re: Change Unix boxes
Message-ID:  <199810060936.FAA12464@castor.chuck>
In-Reply-To: <Pine.BSF.3.96.981004003248.442C-100000@abc.xyz.net> from Steve Howe at "Oct 4, 98 00:38:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Howe wrote:
> On Sat, 3 Oct 1998, Armando Campble P. wrote:
> 
> 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.

Dave
-- 
       Will hack for cabbages!  Every day is Groundhog Day!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810060936.FAA12464>