[Samba] load_usershare_shares: is not owned by root or does not have the sticky bit 't'

David Touzeau david at touzeau.eu
Fri Feb 18 08:36:02 MST 2011


Dear 

I encounter this error on Samba 3.0.28a, i would like to know how to fix
it, 
The file is owned by root, i don't understand whats going wrong...

 smbd[15232]: [2011/02/18 16:32:22, 0]
param/loadparm.c:load_usershare_shares(4878) 
Feb 18 16:32:22 virtualbox smbd[15232]:   load_usershare_shares:
directory /var/lib/samba/usershares/data is not owned by root or does
not have the sticky bit 't' set or is writable by anyone. 


~# stat  /var/lib/samba/usershares/data
  File: `/var/lib/samba/usershares/data'
  Size: 0         	Blocks: 0          IO Block: 4096   regular empty
file
Device: fe01h/65025d	Inode: 10388624    Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2010-04-16 18:32:00.000000000 +0200
Modify: 2010-04-16 18:32:00.000000000 +0200
Change: 2010-04-16 18:32:00.000000000 +0200



More information about the samba mailing list