Permissions Problems
by enorbet from LinuxQuestions.org on (#6QE43)
Greetz
I've seen this general topic come up before but I didn't want to "necro" and actually things have changed rather considerably of late. Back in the day 1 or 2 processes controlled permissions. With the advent of dbus, pam, kwallet (and it's kin), xdg, and probably several more with which I'm unfamiliar, permissions pass through a veritable committee of approvers.
I'm posting this because once again I am having problems with some permissions and so far I have no clue how this came about other than possibly file system corruption from a couple power outages while my UPS was down. However running checks both from the normal ones commanded in "/etc/fstab" and also from booting other systems and manually running "e2fsck" like " e2fsck -pf -v -y /dev/sdx", says everything is fine.
The reason I suspected file system corruption was I was getting some odd errors with "sddm" which told me "/var/lib/sddm/.config/sddm-greeterrc is unwritable" but no such file existed. That was pretty easy to work around until fixed but I'm stuck with a very important to me command "kdesu".
I can login to everything else as root with its proper password and sudo works with user password, but suddenly I get "Permission Denied" from any instance of kdesu with the correct password.
I've seen some reports that creating a "~/kde/share/.config/kdesurc" file as follows -
Code:[super-user-command]
super-user-command=sucan potentially solve such problems but it didn't work for me on Slackware 15.0.
So any comments on how I can track what is wrong or confused (configs or just me) and fix this issue will be greatly appreciated.
Note - This, I think, is separate from the verboten launching of Dolphin as root in Current (though I don't get it why other file managers are allowed) but my concern here is with 15.0 where kdesu has always worked yet now stops me cold even for just "kdesu konsole" or whatever else.
I've seen this general topic come up before but I didn't want to "necro" and actually things have changed rather considerably of late. Back in the day 1 or 2 processes controlled permissions. With the advent of dbus, pam, kwallet (and it's kin), xdg, and probably several more with which I'm unfamiliar, permissions pass through a veritable committee of approvers.
I'm posting this because once again I am having problems with some permissions and so far I have no clue how this came about other than possibly file system corruption from a couple power outages while my UPS was down. However running checks both from the normal ones commanded in "/etc/fstab" and also from booting other systems and manually running "e2fsck" like " e2fsck -pf -v -y /dev/sdx", says everything is fine.
The reason I suspected file system corruption was I was getting some odd errors with "sddm" which told me "/var/lib/sddm/.config/sddm-greeterrc is unwritable" but no such file existed. That was pretty easy to work around until fixed but I'm stuck with a very important to me command "kdesu".
I can login to everything else as root with its proper password and sudo works with user password, but suddenly I get "Permission Denied" from any instance of kdesu with the correct password.
I've seen some reports that creating a "~/kde/share/.config/kdesurc" file as follows -
Code:[super-user-command]
super-user-command=sucan potentially solve such problems but it didn't work for me on Slackware 15.0.
So any comments on how I can track what is wrong or confused (configs or just me) and fix this issue will be greatly appreciated.
Note - This, I think, is separate from the verboten launching of Dolphin as root in Current (though I don't get it why other file managers are allowed) but my concern here is with 15.0 where kdesu has always worked yet now stops me cold even for just "kdesu konsole" or whatever else.