Evo za sve one kojima ce ovo mozda nekad zatrebati a nisu hteli/mogli/razumeli/stigli/whatever procitali howto/man/google
#gpasswd -a <user> portage
ili
#nano /etc/group
add your username to portage
like:
portage:x:250:portage:<username>
P.S.
Citat:
Joined: 25 Apr 2002
Posts: 1613
PostPosted: Wed Feb 26, 2003 2:37 pm Post subject: Reply with quote
From portage 2.0.47:
* NOTICE: The wheel group requirement for non-root users has been changed to
* group portage. Group portage must be a valid group for user to use portage.
[...]
* The 2.0.47 line of portages contains an optional userpriv mode that
* enables portage to drop root privleges and run as a normal user. It is
* enabled via FEATURES by adding userpriv.
That passage has been misinterpreted a bit. It does not mean that any new portage operations can be done by non-root users. In the past, non-root users could do "emerge -s", "emerge -S", and "emerge -p", but they had to be in the wheel group. Now (meaning Portage >=2.0.47) they can do these things, but they have to be in the portage group instead. To actually install software using emerge, you still must run emerge as root. What userpriv does is internally drop permissions to the portage user to do the compilation, but the live merging onto your filesystem still must be done by root, and therefore emerge must be run as root.
|