Gentoo Archives: gentoo-user

From: German <gentgerman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Make the user the member of portage group or not?
Date: Fri, 13 Mar 2015 10:51:41
Message-Id: 20150313065129.845c502d4f74527ee0a02b8d@gmail.com
In Reply to: Re: [gentoo-user] Make the user the member of portage group or not? by Walter Dnes
1 On Fri, 13 Mar 2015 06:42:08 -0400
2 "Walter Dnes" <waltdnes@××××××××.org> wrote:
3
4 > On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
5 > > Question is in the subject line.
6 >
7 > If the user is a member of portage he can do any emerge operation as
8 > long as the command includes "--pretend" or "-p"
9 >
10 > [d531][waltdnes][~] emerge -pv ufraw
11 >
12 > These are the packages that would be merged, in order:
13 >
14 > Calculating dependencies... done!
15 > [ebuild R ] media-gfx/ufraw-0.20-r1 USE="-contrast -fits -gimp
16 > -gnome -gtk -openmp -timezone" 0 KiB
17 >
18 > Total: 1 package (1 reinstall), Size of downloads: 0 KiB
19 >
20 >
21 > However, the regular user is not allowed to actually emerge or unmerge
22 > anything. E.g...
23 >
24 > [d531][waltdnes][~] emerge -v ufraw
25 > emerge: superuser access is required
26 >
27 >
28 > The idea is to allow the user to find out what he would have to do if
29 > he wanted to emerge/unmerge something.
30
31 Thanks for your answer. It now got clearer to me.
32 >
33 > --
34 > Walter Dnes <waltdnes@××××××××.org>
35 > I don't run "desktop environments"; I run useful applications
36 >
37
38
39 --
40 German <gentgerman@×××××.com>