[Bug 894804] Re: 255 cannot create tmp file

Serge Hallyn 894804 at bugs.launchpad.net
Wed Nov 30 21:21:15 UTC 2011


I couldn't reproduce this on precise.

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