1 |
On Thursday 30 September 2004 15:39, Chris L. Mason wrote: |
2 |
> Okay, just checked the man page for make.conf: |
3 |
> |
4 |
> userpriv |
5 |
> Allow portage to drop root privledges and compile |
6 |
> pack- ages as portage:portage without a sandbox (unless user- sandbox |
7 |
> is also used). |
8 |
> |
9 |
> That looks useful, however, I think it would be more secure to always |
10 |
> run *without* root permissions, then acquire them when needed (i.e. |
11 |
> *just* for the merge to root.) Also, that allows people to call |
12 |
> emerge as a regular user, without having to su to root. |
13 |
> |
14 |
|
15 |
Well, the issue is that without being root the file permissions in the |
16 |
install stage will not be correct. The only even more secure option |
17 |
besides the sandbox would be some kind of chroot with an overlay |
18 |
filesystem. That would though require a nonstandard kernel module and as |
19 |
such raise all kinds of other problems. |
20 |
|
21 |
Paul |
22 |
|
23 |
-- |
24 |
Paul de Vrieze |
25 |
Gentoo Developer |
26 |
Mail: pauldv@g.o |
27 |
Homepage: http://www.devrieze.net |