On Sunday 22 May 2005 10:49, Diego 'Flameeyes' Pettenò wrote:
> Hi,
> ok another problem for Gentoo/FreeBSD project :P
> Currently there are a few places where, to fix permissions of files,
> the ebuilds does a chown -R root:root ${D} or something similar.
> Unfortunately such a command is invalid on G/FBSD because there's no
> root group, instead wheel group has GID=0.
>
> So I was wondering for a solution for this problem: we have a $USERLAND
> variable which can be used to select the way the chown must be done, if
> chown root:root or chown root:wheel; I think both BSD and Darwin
> userland prefers root:wheel above root:root, so maybe adding a function
> in eutils which fixes the permissions based on the current $USERLAND
> value is enough...
>
> Comments?

Why not change the stuff to
chown -R 0:0 ${D}

That way it is user proof. The master accounts allways have id's 0:0 but 
user's might decide to change their names.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

Attachment: pgpVZxaKB1YbU.pgp
Description: PGP signature

Reply via email to