Gentoo Archives: gentoo-dev

From: Alec Berryman <alec@×××××××××.org>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Too root or not to root?
Date: Fri, 22 Aug 2003 01:16:10
Message-Id: 1061514967.2482.5.camel@localhost.localdomain
In Reply to: Re: [gentoo-dev] Too root or not to root? by Mike Frysinger
1 On Thu, 2003-08-21 at 19:22, Mike Frysinger wrote:
2 > On Thursday 21 August 2003 20:14, Rob Cakebread wrote:
3 > > Does anyone think its a waste to add all the sudo stuff and run as regular
4 > > user? Or just run the app as root?
5 >
6 > i think ideally it would work like this:
7 > sudo root to fetch (or maybe just portage ?)
8 > sudo root to pkg_setup
9 > run as portage to digest/unpack/compile/install
10 > sudo root to qmerge
11 > -mike
12
13 Debian has a package called fakeroot
14 (http://packages.debian.org/fakeroot):
15
16 --
17 This package is intended to enable something like:
18
19 dpkg-buildpackage -rfakeroot
20 i.e. to remove the need to become root for a package build. This is done
21 by setting LD_PRELOAD to libfakeroot.so, which provides wrappers around
22 getuid, chown, chmod, mknod, stat, ..., thereby creating a fake root
23 environment.
24
25 If you don't understand any of this, you do not need fakeroot!
26 --
27
28 I haven't used it myself, but perhaps this would be a starting point?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Too root or not to root? Sven Vermeulen <swift@g.o>