Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fix systems permissions after chmod error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 249
Location: Berkeley, California

PostPosted: Thu Aug 14, 2008 7:46 pm    Post subject: fix systems permissions after chmod error Reply with quote

Some how every file on / was chmod 777 (rwxrwxrwx).
Does gentoo store the expected file permissions some place?
Is there a gentoo utility to fix the permissions in the event something like this happens?
...
If you must know, ...
I was plaything with some udev rules and they mounted the drive and recursively chmod everything.
I know. Not to slick.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Aug 14, 2008 7:50 pm    Post subject: Reply with quote

I wonder if "emerge -e world" would correct it?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21706

PostPosted: Fri Aug 15, 2008 2:09 am    Post subject: Reply with quote

Yes, reinstalling the packages should fix it. This routinely bites me since one of my packages installs as 4750 instead of the 755 that I prefer. Every time I upgrade, it goes back to being setuid and not executable by some of my users.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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