Dolphin fails to create Samba shares due to lack of 'samabashare' group membership
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dolphin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
kdenetwork-filesharing (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Kubuntu 14.04 Dolphin was consistently failing to create working local directory shares via Samba despite the GUI indicating it had done so.
There is no system logging captured to indicate the problem. 'smbtree' confirmed that the shares had not been created.
Running dolphin from the command-line revealed a "Permission denied" message trying to access "/var/lib/
$ ls -ld /var/lib/
drwxrwx--T 2 root sambashare 4096 Sep 10 16:17 /var/lib/
$ groups | grep samabashare || echo Not Found
Not Found
The solution is to add the user(s) to the "sambashare" group and then log-in again to have the group membership take effect.
sudo adduser $USER sambashare
The GUI *really* should provide feedback to the user when this happens - no-one is normally going to execute dolphin from the shell and see the "Permission denied" message.