From: Paul de Vrieze <pauldv@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Too root or not to root?
Date: Fri, 22 Aug 2003 10:47:37 +0200 [thread overview]
Message-ID: <200308221047.44612.pauldv@gentoo.org> (raw)
In-Reply-To: <200308212022.12362.vapier@gentoo.org>
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 987 bytes --]
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
a normal user. Possibly it would mean some maintenance on the /var/tmp dir
though.
For install, please take a look at libcap. It allows one to have only the
capabilities you need. That way chmod would be allowed by the proper user to
make the install fase work correctly. You would probably want to have the ide
ask for these rights in this case.
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-22 8:47 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
2003-08-22 8:10 ` Sven Vermeulen
2003-08-22 8:47 ` Paul de Vrieze [this message]
-- 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=200308221047.44612.pauldv@gentoo.org \
--to=pauldv@gentoo.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