/var/lib/samba/usershares needs to have these permissions and ownership:

Access: (1770/drwxrwx--T)  Uid: (    0/    root)   Gid: (
113/sambashare)

i.e.

chmod 1770 /var/lib/samba/usershare
chown root:sambashare /var/lib/samba/usershares

And this is done when the package is installed:
if [ ! -e /var/lib/samba/usershares ]
then
    install -d -m 1770 -g sambashare /var/lib/samba/usershares
fi


If you or some tool changed it afterwards, a package reinstallation will NOT 
change it.


** Changed in: samba (Ubuntu)
       Status: New => Invalid

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

Title:
  255 cannot create tmp file

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to