Bug 177436

Summary: Kcmshell4 "fileshare" doesn't work as root
Product: [Applications] systemsettings Reporter: Holly <kate_baggins>
Component: kcm_fileshareAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: justin.zobel, kontakt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: log from running kcmshell4
Screenshot

Description Holly 2008-12-10 23:04:27 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Running kcmshell fireshare as root in Konsole gives me the following errors:

Error: "/var/tmp/kdecache-kalinda" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kalinda" is owned by uid 1000 instead of uid 0.

Putting quotes around "fileshare" only spits out the first error. I can run it as a normal user, but that's pretty pointless since editing anything in Samba requires root. Actually, when I run System Settings as root, the Samba module isn't there (under Advanced settings), but it is for a normal user. This essentially means there's no way to edit Samba in the KDE GUI.

This problem happens in the KDE Nightly Builds and in 4.2 Beta 1 on Intrepid, except in the latter there is no Samba module in System Settings, even as a normal user.

If I change the ownership of the things listed in the errors, kcmshell simply doesn't run at all as root.
Comment 1 Michał Zając 2009-02-03 23:57:30 UTC
Created attachment 30937 [details]
log from running kcmshell4

Load smb config files from /etc/samba/smb.conf
(...)
Load smb config files from /dev/null <-- what?!
Comment 2 Michał Zając 2009-02-03 23:59:01 UTC
Created attachment 30938 [details]
Screenshot

Screenshot, I can't edit anything even If I proved the path to config by hand and Load it
Comment 3 Michał Zając 2009-02-04 00:01:37 UTC
I think the problem is that the fileshare loads the config from /dev/null (see the attachment). I don't know why but it does.
Comment 4 Jakub 'Livio' Rusinek 2009-10-14 15:49:00 UTC
It fails to start for me too.
Comment 5 Andrew Crouthamel 2018-11-02 22:58:06 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-11-16 05:36:25 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 7 Justin Zobel 2020-11-26 23:11:46 UTC
This kcm appears to have been removed in the upgrades throughout the years.