Subject: Re: postinstall fixes failed: gid sendmail uid
To: Pavel Cahyna <>
From: Manuel Bouyer <>
List: current-users
Date: 11/20/2005 22:42:49
On Sun, Nov 20, 2005 at 04:19:15PM +0100, Pavel Cahyna wrote:
> On Sun, Nov 20, 2005 at 01:02:22PM +0100, Manuel Bouyer wrote:
> > On Sat, Nov 19, 2005 at 07:06:02PM +0100, Pavel Cahyna wrote:
> > > > I'm not sure tar hardcode uid/gid, I think it uses user/group names instead
> > > > (but this is from memory and I didn't test, I may be wrong here).
> > > 
> > > Then, what happened when extracting the sets, if tar didn't find the name?
> > 
> > tar silently defaults to root:wheel (or whatever uid/gid tar is running under)
> I just looked to the system where I did the install, and saw that for
> those files, tar (pax, actually) chose the "correct" UID and GID, not
> root:wheel.

It did not on my system, but I tried on 1.6.2. 2.x and 3.0_BETA
obviously have this user name so it's not easy to do this check here.

> So IMHO if those UIDs or GIDs were in use by another user or group, I
> would end with a system with setgid binaries owned by a group different
> that intended. If I chose a random UID/GID whwn creating those
> special users and groups, I would end with files owned by nonexistent
> users or groups. Is this correct?

postinstall will take care of resetting the proper permissions, I think

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