View previous topic :: View next topic |
Author |
Message |
johnny99 Apprentice
Joined: 24 Oct 2005 Posts: 249 Location: Berkeley, California
|
Posted: Thu Aug 14, 2008 7:46 pm Post subject: fix systems permissions after chmod error |
|
|
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 |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Thu Aug 14, 2008 7:50 pm Post subject: |
|
|
I wonder if "emerge -e world" would correct it? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Fri Aug 15, 2008 2:09 am Post subject: |
|
|
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 |
|
|
|