From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25716 invoked by uid 1002); 22 Aug 2003 08:47:47 -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 3783 invoked from network); 22 Aug 2003 08:47:46 -0000 From: Paul de Vrieze To: gentoo-dev@gentoo.org Date: Fri, 22 Aug 2003 10:47:37 +0200 User-Agent: KMail/1.5.3 References: <1061511250.b0b13f00robc@myrealbox.com> <200308212022.12362.vapier@gentoo.org> In-Reply-To: <200308212022.12362.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_widR/BkCE2qwG4X"; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200308221047.44612.pauldv@gentoo.org> Subject: Re: [gentoo-dev] Too root or not to root? X-Archives-Salt: 9173d687-5996-4f07-b0ce-7dd13edbca83 X-Archives-Hash: 7d1279bdb7ccb9cd4f9d005adaebbfec --Boundary-02=_widR/BkCE2qwG4X Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Friday 22 August 2003 02: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 You only need to be root to install. All the other things should be doable = as=20 a normal user. Possibly it would mean some maintenance on the /var/tmp dir= =20 though. =46or install, please take a look at libcap. It allows one to have only the= =20 capabilities you need. That way chmod would be allowed by the proper user t= o=20 make the install fase work correctly. You would probably want to have the i= de=20 ask for these rights in this case. Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --Boundary-02=_widR/BkCE2qwG4X Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/RdiwbKx5DBjWFdsRArr3AJ0RTBWWxVnl3duq1igR9HXf4VS7+gCg5cgG ZN3Ug/W8IFcgbW/6JgaV1+o= =oo4p -----END PGP SIGNATURE----- --Boundary-02=_widR/BkCE2qwG4X--