Public bug reported:

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.

** Affects: dolphin (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: kdenetwork-filesharing (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: kdenetwork-filesharing (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1367809

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/1367809/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to