Dolphin fails to create Samba shares due to lack of 'samabashare' group membership

Bug #1367809 reported by TJ
6
This bug affects 1 person
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/samba/usershares".

$ ls -ld /var/lib/samba/usershares/
drwxrwx--T 2 root sambashare 4096 Sep 10 16:17 /var/lib/samba/usershares/

$ 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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.