Gentoo Archives: gentoo-alt

From: Daniel Ibn Zayd <DIZ@×××××××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Gentoo Prefix | Mac Leopard 10.5.8 | Permissions issue
Date: Sat, 04 Jan 2014 09:39:15
Message-Id: 20140104113904929157.a3f09ed6@danielibnzayd.net
In Reply to: Re: [gentoo-alt] Gentoo Prefix | Mac Leopard 10.5.8 | Permissions issue by Daniel Ibn Zayd
1 Just a follow-up (although I'm embarrassed to admit it):
2
3 Did one last find/grep on group='danielibnzayd' and found the offending line *I* had put by mistake in make.conf; have removed it and everything is running smoothly again! Just emerged portage without a hitch.
4
5 Thanks for the help, and apologies for the human error....
6
7 Daniel
8
9
10
11 On Sun, 29 Dec 2013 22:35:16 +0200, Daniel Ibn Zayd wrote:
12 > From make.globals:
13 >
14 > danielibnzayd@boojum /Volumes/GENTOO/etc $ grep danielibnzayd make.globals
15 > PORTAGE_USER='danielibnzayd'
16 > PORTAGE_ROOT_USER='danielibnzayd'
17 > PORTAGE_ELOG_MAILURI="danielibnzayd"
18 > PORTAGE_ELOG_MAILFROM="danielibnzayd@localhost"
19 >
20 >
21 > danielibnzayd@boojum /Volumes/GENTOO/etc $ grep danielibnzayd
22 > /Volumes/GENTOO/usr/lib/portage/pym/portage/const_autotool.py
23 > portageuser = "danielibnzayd"
24 > rootuser = "danielibnzayd"
25 >
26 >
27 > Perhaps it helps to understand that OS X Tiger changed the default
28 > file permissions such that every user also had a group with the same
29 > name/# as the user ID. When upgrading to OS X Leopard, this was
30 > carried over, even though a clean install of Leopard would place
31 > users in a primary group "staff" with GID 20.
32 >
33 > So if I am not mistaken, the error log is showing an attempt to chgrp
34 > to danielibnzayd which was my former primary group. I've changed all
35 > of these to "staff/20" now, and have made that change in both places
36 > you suggested:
37 >
38 > # Default portage user/group
39 > PORTAGE_USER='danielibnzayd'
40 > PORTAGE_GROUP='staff'
41 > PORTAGE_ROOT_USER='danielibnzayd'
42 >
43 > # Default ownership of installed files.
44 > PORTAGE_INST_UID="502"
45 > PORTAGE_INST_GID="20"
46 >
47 > and
48 >
49 > EPREFIX = "/Volumes/GENTOO"
50 > SYSCONFDIR = "/Volumes/GENTOO/etc"
51 > PORTAGE_BASE = "/Volumes/GENTOO/usr/lib/portage"
52 >
53 > portagegroup = "staff"
54 > portageuser = "danielibnzayd"
55 > rootuser = "danielibnzayd"
56 > rootuid = 502
57 > rootgid = 20
58 >
59 > PORTAGE_BASH = "/Volumes/GENTOO/bin/bash"
60 > PORTAGE_MV = "/Volumes/GENTOO/bin/mv"
61 >
62 >
63 >
64 >
65 > Thanks very much for your help! I really appreciate it.
66 >
67 >
68 >
69 >
70 >
71 > On Sun, 29 Dec 2013 21:14:14 +0100, Fabian Groffen wrote:
72 >> On 29-12-2013 15:42:53 +0200, Daniel Ibn Zayd wrote:
73 >>> Thanks for the quick reply. The changes you recommend get me through
74 >>> the initial check of dependencies to the emerge, at which point
75 >>> something else kicks in and is trying to set group permissions
76 >>> again....here is the run before I ^-C out of it:
77 >>>
78 >>> danielibnzayd@boojum /Volumes/GENTOO/usr/lib/portage/pym/portage $
79 >>> emerge portage
80 >>> Calculating dependencies... done!
81 >>>
82 >>>>>> Verifying ebuild manifests
83 >>>
84 >>>>>> Emerging (1 of 1) sys-apps/portage-2.2.7-r2
85 >>> * prefix-portage-2.2.7.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
86 >>> ... [ ok ]
87 >>> * chgrp failure ignored with unprivileged user:
88 >>> * chgrp danielibnzayd
89 >>> ${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/eclass-debug.log
90 >>
91 >> Do you see danielibnzayd in $EPREFIX/etc/make.globals or
92 >> $EPREFIX/usr/lib/portage/pym/portage/const_autotool.py at this point
93 >> (grep for it)?
94 >>
95 >> Fabian
96 >

Replies