From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3876 invoked by uid 1002); 22 Aug 2003 01:16:10 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 8661 invoked from network); 22 Aug 2003 01:16:10 -0000 From: Alec Berryman To: gentoo-dev@gentoo.org In-Reply-To: <200308212022.12362.vapier@gentoo.org> References: <1061511250.b0b13f00robc@myrealbox.com> <200308212022.12362.vapier@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rG8/SZ0EThx7KrGvTfxm" Message-Id: <1061514967.2482.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 21 Aug 2003 20:16:08 -0500 Subject: Re: [gentoo-dev] Too root or not to root? X-Archives-Salt: 8e06a659-f7fd-478c-b6fa-e988b6d07bd4 X-Archives-Hash: a93d9c284c9d0a399197dbdf0f6f37d7 --=-rG8/SZ0EThx7KrGvTfxm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 regu= lar > > user? Or just run the app as root? >=20 > 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.=20 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? --=-rG8/SZ0EThx7KrGvTfxm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/RW7XFzqxRt+zZvIRAvS8AJoCTx3fUBG2IDuk751y1B1AhVUzSgCdFrKm RzL/AknOK5Pd8F9kEo5rWNY= =bOGJ -----END PGP SIGNATURE----- --=-rG8/SZ0EThx7KrGvTfxm--