[COLUG] Permissions Problem
Brian Miller
bnmille at gmail.com
Sun Mar 23 12:09:18 EST 2008
On Sun, 2008-03-23 at 09:52 -0400, Stephen P. Molnar wrote:
> OpenSUSE 10.3/KDE 3.5.7 new installation
>
> Made a real mess this time. I was attempting to change permissions on /usr
> for root/root to root/users which didn't work out so I changed the /usr tree
> back to root/root
>
> Now, as a user, when I attempt to open a root mode Krusader I get and error
> message: 'Su returned with an error.' The same thing happens when I attempt
> to open yast2 as root.
>
> Assistance will be much appreciated.
>
So what commands did you run to first change to root:user, and what did
you use to change it back to root:root?
If you open a konsole window and try to run krusader and su from a
command line, what error do you get? Also, what do "ls -l krusader" and
"ls -l su" show?
Changing the group membership of most programs under /usr should not
affect how they run, but changing execute and/or suid/sgid permissions
would affect them.
Also, from the file /etc/permissions:
`chkstat -set /etc/permissions` or `chkstat
-set /etc/permissions.easy`.
These commands will set file permissions and modes to some sane
settings, which should allow your other programs to work.
You can read the rest of the text in /etc/permissions to get a better
idea of what these files and the chkstat program do.
More information about the colug432
mailing list