public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Non-root emerges
@ 2004-09-30 13:24 Chris L. Mason
  2004-09-30 13:28 ` Ciaran McCreesh
  2004-10-18  3:56 ` Ed Grimm
  0 siblings, 2 replies; 24+ messages in thread
From: Chris L. Mason @ 2004-09-30 13:24 UTC (permalink / raw
  To: gentoo-dev

Hi all,

I've checked the documentation and man pages and couldn't find what I
was looking for.  If I've missed something, please point me in the
right direction.

I've been trying to figure out if it is possible to have all emerges
(especially the builds) to be done as a non-root user, and have the
process call sudo (or similar) only for the final merge.  All
downloading, unpacking, compiling and installing to the fake target
should be doable without root permissions.  So, you'd just need to be
in the portage group, and be configured in sudo.

This is similar to what is possible in OpenBSD, with a setting in
/etc/mk.conf.  This allows regular users to build ports, or even the
whole system.  Debian allows something similar using fakeroot, which
allows non-root users to build packages.  Probably the OpenBSD
approach would work best for gentoo.  A similar setting could be added
to make.conf to indicate how to gain root permissions (i.e. by calling
sudo, or something else.)

This is desirable both for security reasons and just to avoid
accidentally trashing the system because of a broken build script, for
example.

If this currently possible, and if not, what do people think?  If
there's no major obections or issues, I'd be happy to open a bug.

Thanks,


Chris

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2004-10-18  3:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-30 13:24 [gentoo-dev] Non-root emerges Chris L. Mason
2004-09-30 13:28 ` Ciaran McCreesh
2004-09-30 13:39   ` Chris L. Mason
2004-09-30 14:04     ` Paul de Vrieze
2004-09-30 16:20       ` Luke-Jr
2004-09-30 16:38         ` Stephen P. Becker
2004-09-30 16:45           ` Paul de Vrieze
2004-09-30 17:50             ` Simon Stelling
2004-09-30 18:39               ` Chris L. Mason
2004-09-30 18:40                 ` Stephen P. Becker
2004-09-30 18:48                   ` Chris L. Mason
2004-09-30 19:04                     ` Stephen P. Becker
2004-09-30 19:17                       ` Chris L. Mason
2004-09-30 19:21                         ` Stephen P. Becker
2004-09-30 19:55                           ` Ned Ludd
2004-10-01  9:30                             ` Paul de Vrieze
2004-10-01 16:01                               ` Chris L. Mason
2004-10-01 16:56                                 ` Alin Nastac
2004-10-01 16:57                                 ` Ciaran McCreesh
2004-10-01 21:41                 ` Ned Ludd
2004-10-01 21:55                   ` Chris L. Mason
2004-10-01  1:57         ` Christian Birchinger
2004-09-30 18:58     ` Stroller
2004-10-18  3:56 ` Ed Grimm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox