[Bug 894804] Re: 255 cannot create tmp file

Andreas Hasenack andreas at canonical.com
Mon Mar 18 12:23:46 UTC 2019


/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



More information about the Ubuntu-server-bugs mailing list