Subject: Re: postinstall fixes failed: gid sendmail uid
To: Manuel Bouyer <>
From: Pavel Cahyna <>
List: current-users
Date: 11/20/2005 22:49:04
On Sun, Nov 20, 2005 at 10:42:49PM +0100, Manuel Bouyer wrote:
> > > 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.

Haven't you forgot -pe ?

> > 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

for /usr/libexec/sendmail/sendmail it does, but not for the others.

Pavel Cahyna