Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515510 - Bad description of the portage group
Summary: Bad description of the portage group
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: https://www.gentoo.org/doc/en/handboo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-27 12:58 UTC by Agostino Sarubbo
Modified: 2015-01-03 09:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-06-27 12:58:08 UTC
at: 

11.a. User Administration

we have:

portage	| be able to use emerge --pretend as a normal user


So I just created a new fresh user to test it.

test@willoughby ~ $ groups 
test


test@willoughby ~ $ emerge -pv portage

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/portage-2.2.8-r1  USE="(ipc) -build -doc -epydoc (-pypy2_0) -python2 -python3 (-selinux) -xattr" LINGUAS="-ru" PYTHON_TARGETS="python2_7 (-pypy2_0) (-python2_6) -python3_2 -python3_3 (-python3_4)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


I'm able to run emerge --pretend if I'm not in the portage group, so we have two possibilities:

1)The description is wrong and any user is able to run emerge --pretend
2)The description is right and emerge is bugged.

In case of 2, please assign the bug to dev-portage@
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2015-01-03 09:23:37 UTC
I can't find a good source of when to use the portage group. On my system, write access to distfiles for instance is possible if you're in the portage group, but I don't know if that is default behavior (as my distfiles is on non-standard location with specific mount options and such, so could have been made by me personally).

I've updated the text to be a more generic "be able to access portage restricted resources".