[Bug 894804] Re: 255 cannot create tmp file
dz0ny
janez.troha at gmail.com
Wed Nov 30 22:13:52 UTC 2011
root at namizni:/var/run# ls -l /var/lib/samba
skupno 312
-rw------- 1 root root 36864 2011-11-18 22:16 account_policy.tdb
-rw------- 1 root root 77824 2011-11-18 22:16 group_mapping.ldb
-rw------- 1 root root 8192 2011-11-18 22:16 ntdrivers.tdb
-rw------- 1 root root 696 2011-11-18 22:16 ntforms.tdb
-rw------- 1 root root 20480 2011-11-18 22:22 ntprinters.tdb
-rw------- 1 root root 36864 2011-11-30 22:20 passdb.tdb
drwxr-xr-x 2 root root 4096 2011-11-18 22:16 perfmon
drwxr-xr-x 10 root root 4096 2011-11-25 16:20 printers
-rw------- 1 root root 36864 2011-11-18 22:16 registry.tdb
-rw------- 1 root root 45056 2011-11-18 22:16 secrets.tdb
-rw------- 1 root root 36864 2011-11-18 22:16 share_info.tdb
drwxr-xr-x 2 janez sambashare 4096 2011-11-30 22:11 usershares
-rw-r--r-- 1 root root 696 2011-11-29 01:03 winbindd_idmap.tdb
@Serge true, but when chowning to specific user, it somehow works.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/894804
Title:
255 cannot create tmp file
Status in “samba” package in Ubuntu:
Incomplete
Bug description:
Error:
'net usershare'returned 255: net usershare add: cannot create tmp file
/var/lib/samba/usershares/:tmpCK6LY9
Action:
Add share via Nautilus menu option Share folder
Specs:
Description: Ubuntu 11.10
Release: 11.10
Linux namizni 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
samba:
Nameščen: 2:3.5.11~dfsg-1ubuntu2.1
Kandidat: 2:3.5.11~dfsg-1ubuntu2.1
Preglednica različic:
*** 2:3.5.11~dfsg-1ubuntu2.1 0
500 http://si.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 Packages
100 /var/lib/dpkg/status
2:3.5.11~dfsg-1ubuntu2 0
500 http://si.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
Solution:
sudo chown $USERNAME /var/lib/samba/usershares/ -R
Look's like samba user is not in group users or someting like that.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/894804/+subscriptions
More information about the foundations-bugs
mailing list