From: Alec Berryman <alec@lorax.wox.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Too root or not to root?
Date: Thu, 21 Aug 2003 20:16:08 -0500 [thread overview]
Message-ID: <1061514967.2482.5.camel@localhost.localdomain> (raw)
In-Reply-To: <200308212022.12362.vapier@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
On Thu, 2003-08-21 at 19:22, Mike Frysinger wrote:
> On Thursday 21 August 2003 20:14, Rob Cakebread wrote:
> > Does anyone think its a waste to add all the sudo stuff and run as regular
> > user? Or just run the app as root?
>
> i think ideally it would work like this:
> sudo root to fetch (or maybe just portage ?)
> sudo root to pkg_setup
> run as portage to digest/unpack/compile/install
> sudo root to qmerge
> -mike
Debian has a package called fakeroot
(http://packages.debian.org/fakeroot):
--
This package is intended to enable something like:
dpkg-buildpackage -rfakeroot
i.e. to remove the need to become root for a package build. This is done
by setting LD_PRELOAD to libfakeroot.so, which provides wrappers around
getuid, chown, chmod, mknod, stat, ..., thereby creating a fake root
environment.
If you don't understand any of this, you do not need fakeroot!
--
I haven't used it myself, but perhaps this would be a starting point?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-22 1:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-22 0:14 [gentoo-dev] Too root or not to root? Rob Cakebread
2003-08-22 0:22 ` Mike Frysinger
2003-08-22 1:16 ` Alec Berryman [this message]
2003-08-22 8:10 ` Sven Vermeulen
2003-08-22 8:47 ` Paul de Vrieze
-- strict thread matches above, loose matches on Subject: below --
2003-08-21 23:39 Rob Cakebread
2003-08-21 23:54 ` Mike Frysinger
2003-08-22 2:26 ` Georgi Georgiev
2003-08-22 8:10 ` Mamoru KOMACHI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1061514967.2482.5.camel@localhost.localdomain \
--to=alec@lorax.wox.org \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox