View previous topic :: View next topic |
Author |
Message |
dan.andersson n00b
Joined: 08 Mar 2012 Posts: 9
|
Posted: Sun May 19, 2013 9:31 am Post subject: owner of portage? |
|
|
I got a little puzzled i run "emerge --sync" as user and got permission denied on allot directorys, ok there is not any important there so i deleted all and tried again with same result. Hmm do i remember it wrong can't i sync as user (i am in portage group) ok so i run it as root and that works but now root owns all directorys under portage not portage as it was before.
Should i care? what has changed?
typical error with emerge --sync
rsync: mkstemp "/usr/portage/x11-terms/gnome-terminal/.ChangeLog.ix2ri1" failed: Permission denied (13)
rsync: failed to set times on "/usr/portage/x11-themes/pidgin-smileys": Operation not permitted (1)
and now when they are owned by root thats expected
chown -R portage:portage /usr/portage
doesnt change anything |
|
Back to top |
|
|
slis Retired Dev
Joined: 11 Oct 2010 Posts: 67 Location: Limanowa
|
Posted: Sun May 19, 2013 10:27 am Post subject: |
|
|
Have you run emerge as root / privileged user? |
|
Back to top |
|
|
dan.andersson n00b
Joined: 08 Mar 2012 Posts: 9
|
Posted: Sun May 19, 2013 10:46 am Post subject: |
|
|
Yes, to get it to sync i run "emerge --sync" as root, i think it should set the owner to portage regardless of who runs it, as it cant be run as portage or at least i never do |
|
Back to top |
|
|
slis Retired Dev
Joined: 11 Oct 2010 Posts: 67 Location: Limanowa
|
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sun May 19, 2013 2:43 pm Post subject: |
|
|
You need to set it up to use user privileges /etc/portage/make.conf: | FEATURES="userpriv" |
Plus you may need to change the permissions on your existing /usr/portage _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9522 Location: beyond the rim
|
Posted: Tue May 21, 2013 6:46 am Post subject: |
|
|
Please do not tell people to use those instructions if you don't fully understand the problem. That guide is only useful for very specific problem cases, for most issues it won't help at all and may actually cause additional problems. |
|
Back to top |
|
|
slis Retired Dev
Joined: 11 Oct 2010 Posts: 67 Location: Limanowa
|
Posted: Tue May 21, 2013 6:52 am Post subject: |
|
|
ok, my bad. I should read more carefully initial question. |
|
Back to top |
|
|
|