Subject: Re: postinstall fixes failed: gid sendmail uid
To: Pavel Cahyna <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 11/20/2005 13:02:22
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)
> The INSTALL documents for 2.1 and 3.0 mention the creation of those
> users and groups, but don't say that it should be done before.
> (And the tool is called "postinstall" not "preinstall" after all.)
postinstall will fix the permissions if the tar sets were extracted without
the right user/group defined, but these uid/gid have to exists before
postinstall is run.
Manuel Bouyer <firstname.lastname@example.org>
NetBSD: 26 ans d'experience feront toujours la difference