David Touzeau
2011-Feb-18 15:36 UTC
[Samba] load_usershare_shares: is not owned by root or does not have the sticky bit 't'
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
Geoff Winkless
2011-Feb-18 15:42 UTC
[Samba] load_usershare_shares: is not owned by root or does not have the sticky bit 't'
On 18 February 2011 15:36, David Touzeau <david at touzeau.eu> wrote:> The file is owned by root, i don't understand whats going wrong......> directory /var/lib/samba/usershares/data is not owned by root > or does not have the sticky bit 't' set...> ?File: `/var/lib/samba/usershares/data' > Access: (0644/-rw-r--r--) ?Uid: ( ? ?0/ ? ?root) ? Gid: ( ? ?0/ ? ?root)Sticky bit ("t") is not set. man chmod Geoff