Subject: Re: postinstall fixes failed: gid sendmail uid
To: Space Case <>
From: Manuel Bouyer <>
List: current-users
Date: 11/21/2005 12:43:21
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:
asim:/tmp>ftp -o - |tar tzvf - |grep smmsp
-r-xr-sr-x root/smmsp   632130 Nov 19 03:40 2005 ./usr/libexec/sendmail/sendmail
drwxrwx--- smmsp/smmsp       0 Nov 19 03:07 2005 ./var/spool/clientmqueue
asim:/tmp>id smmsp
id: smmsp: No such user

this is why it can't restore the uid/gid if these uid/gid don't exists on the
local system.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference