Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
some items in the tree owned by root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Fri Oct 19, 2018 1:07 pm    Post subject: some items in the tree owned by root Reply with quote

I ran into some permission problems performing emerge --sync and realized that

Code:
ls -lh /usr/portage/x11-themes
.....
-rw-r--r-- 1 portage portage  23K Oct 18 09:09 Manifest.gz
....
drwxr-xr-x 2 root    root    4.0K Sep  3 11:23 numix-gtk-theme
drwxr-xr-x 2 root    root    4.0K Sep  3 11:23 numix-icon-theme
drwxr-xr-x 2 root    root    4.0K Sep  3 11:23 numix-icon-theme-circle
....

are owned by root, I do not know what could have caused this.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2575
Location: Here and Away Again

PostPosted: Fri Oct 19, 2018 1:25 pm    Post subject: ><)))°€ Reply with quote

Possibly related to: Bug 661834 - =sys-apps/portage-2.3.43: synced files owned by root
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Sat Oct 20, 2018 4:48 am    Post subject: Reply with quote

Here similar case, maybe on a larger scale:
Code:
ls /usr/portage -la -d
drwxr-xr-x 173 root root 4096 oct.  20 01:48 /usr/portage
Code:
ls /usr/portage/distfiles  -la -d
drwxrwxr-x 4 root portage 36864 oct.  20 03:34 /usr/portage/distfiles

All other files in /etc/portage are root:root owned.
Code:
FEATURES="usersync"
How 2 fix?
Should it be enough to:
Code:
chown -R portage:portage /usr/portage
And another emerge --sync to check ?

Thks 4 ur attention.


Last edited by CaptainBlood on Sat Oct 20, 2018 10:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sat Oct 20, 2018 11:50 am    Post subject: Reply with quote

CaptainBlood wrote:

Shoulld it be enough to:
Code:
chown -R portage:portage /usr/portage
And another emerge --sync to check ?

That's all I did and I didn't find any trouble so far.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum