Gentoo Archives: gentoo-dev

From: Alec Warner <warnera6@×××××××.edu>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] root:root and fbsd
Date: Sun, 22 May 2005 14:38:05
Message-Id: 4290995A.5040206@egr.msu.edu
In Reply to: [gentoo-dev] root:root and fbsd by "Diego 'Flameeyes' Pettenò"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Diego 'Flameeyes' Pettenò wrote:
5 | Hi,
6 | ok another problem for Gentoo/FreeBSD project :P
7 | Currently there are a few places where, to fix permissions of files, the
8 | ebuilds does a chown -R root:root ${D} or something similar.
9 | Unfortunately such a command is invalid on G/FBSD because there's no root
10 | group, instead wheel group has GID=0.
11 |
12 | So I was wondering for a solution for this problem: we have a $USERLAND
13 | variable which can be used to select the way the chown must be done,
14 if chown
15 | root:root or chown root:wheel; I think both BSD and Darwin userland
16 prefers
17 | root:wheel above root:root, so maybe adding a function in eutils which
18 fixes
19 | the permissions based on the current $USERLAND value is enough...
20 |
21 | Comments?
22 |
23 Yeah, this means get working on GLEP 27 *cracks whip*.
24 http://www.gentoo.org/proj/en/glep/glep-0027.html
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v1.2.4 (Darwin)
27 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
28
29 iQIUAwUBQpCZWWzglR5RwbyYAQKkkA/2PI5A33U5de5tT5mgKQbZwifs3w5B+r8e
30 X3a0IoavdTh+lQu2b20gYmfyKmLxEwzS+kIsXtlKDx77NRptU+qHMLnntA4A+7kH
31 9KX/ghbCTljV3KTZfIwAt+oSj5IRt+pvcptusY53jI5vpKedmHQCudbGE8LmBseo
32 6dxeFHN2bZZiLVB1QsycOUwYijbQ01EUooTqb/zZ50duD/w7L2WuCQ+6cLfMbKMT
33 QMoWAlE37iCesltdieLwou+QWaMwfC1ZYaVVfZyy2Tm8+CcHgndNnXV2J3SfVFH2
34 DeDwlVw/Xxb4oirsaBiPGo6ndywYdQCBjTjkaYOoIJnOc13/HX9n7mPWSFbAIx9X
35 leGwhNi5ggqXp/s98+SuJAiauXuuVKq3Tn8OQxcY76c5A82gMnw++osri4CSXfVc
36 6BaOfr/0PmhlmpFzwH4RPI1yabrjfq2e7EYKtFjGQeEltCULxseMWhMuferiYciO
37 9D7pVSpkB+xTJSR7tTjT9Cwu4bt6IWSeqqTp8yy/w4PY2QntgiG5qvChvmJDrFgp
38 HKPJq4m84BLFFty4kwk68UgoKk6sb18IZtqU3lbUnjbr2IbZV2pl/KI3z4GcVJIY
39 n6ZAawYXHuWdCBzkMfGBomEAYbEbIiSYJ5D7VA1XAlUC6wX/4aICbqpYvBWsAKtO
40 hLYINVJJ7A==
41 =I/Ly
42 -----END PGP SIGNATURE-----
43 --
44 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] root:root and fbsd "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>