Subject: Re: postinstall fixes failed: gid sendmail uid
To: None <current-users@NetBSD.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: current-users
Date: 11/21/2005 13:09:30
On Mon, Nov 21, 2005 at 12:43:21PM +0100, Manuel Bouyer wrote:
> On Sun, Nov 20, 2005 at 06:51:29PM -0800, Space Case wrote:
> > >No, I checked again, I really did tar -p
> > >Hum, maybe these users exists on the boot floppy's passwd/group files, so
> > >tar can work from here ? From what I can see in the sources, it does.
> > 
> > So far as I know, when you run tar as root, it will restore the uid/gid
> > that was stored in the archive.  If those uids/gids don't exist in your
> > passwd/group, `ls -l` will show a numeric ID.  It's not an error for the
> > unknown IDs to not be in the passwd/group files.  
> 
> >From my experiments, the tar archive contains users/group names, not uid:

It contains both, see POSIX:

http://www.opengroup.org/onlinepubs/009695399/utilities/pax.html#tag_04_100_13_06

Pavel Cahyna