Gentoo Archives: gentoo-alt

From: Michael Weiser <michael@×××××××××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] prefix-portage as root
Date: Thu, 28 Feb 2008 19:20:21
Message-Id: 20080228184057.GA18658@weiser.dinsnail.net
In Reply to: Re: [gentoo-alt] prefix-portage as root by John Gibson
1 On Thu, Feb 28, 2008 at 11:40:31AM -0500, John Gibson wrote:
2
3 >> The biggest problem you're going to run into is that in "root-mode"
4 >> (privileged), Prefix will currently act as if it is "unprivileged", so
5 >> don't create any users, or chmod to any users other than the running
6 >> user itself.
7
8 This would be a real showstoppper for me, especially permissions.
9
10 >> This is a known limitation, that we obviously look for a solution for.
11 >> Another Google Summer of Code project?
12
13 Is there an easy (or hard ;) way to switch Prefix back into privileged
14 mode?
15
16 Are there hooks for (re-)adding the useradd/del functionality? There's
17 guides on creating users using dscl which should make it easy to provide
18 a useradd/del replacement.
19
20 > I don't know how workable this would be, but we could run prefix as an
21 > unprivileged user and then use sudo in the user creation functions /
22 > chowning portions. That way you wouldn't have to worry about prefix
23 > trampling stuff outside of the prefix, but still get some of the other
24 > features of being root.
25
26 I think, I'll give this one a go: http://www.macpronews.com/2008/0117.html.
27 This should be implementable as a FEATURES="sandbox-macos"
28 --
29 Greetrings,
30 Micha
31 --
32 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] prefix-portage as root Fabian Groffen <grobian@g.o>
Re: [gentoo-alt] prefix-portage as root matt hull <mattmatteh@×××.com>
Re: [gentoo-alt] prefix-portage as root Michael Weiser <michael@×××××××××××××××.net>