Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: Re: Re: [gentoo-dev] RFC: Enable FEATURES="userpriv usersandbox" by default?
Date: Tue, 03 Jul 2012 13:51:53
Message-Id: 1919419.oGiPTPu1x2@grenadine
In Reply to: Re: [gentoo-dev] RFC: Enable FEATURES="userpriv usersandbox" by default? by Zac Medico
1 >
2 > I guess something like this might work in pkg_postinst of the portage
3 > ebuild:
4 >
5 > find "$DISTDIR" -maxdepth 1 -type d -uid 0 | xargs chown -R
6 > portage:portage
7 >
8 > I would only trigger something like this once, when upgrading from a
9 > version that doesn't have userpriv enabled by default.
10
11 If you run ebuild as user (belonging to group portage), that won't help...
12 better add a "chmod -R g+w" too...
13
14
15 --
16 Andreas K. Huettel
17 Gentoo Linux developer
18 kde, sci, arm, tex, printing

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: Re: Re: [gentoo-dev] RFC: Enable FEATURES="userpriv usersandbox" by default? "Andreas K. Huettel" <dilfridge@g.o>