Package: nautilus-share
Version: 0.7.3-1+b1
Severity: normal
Dear Maintainer,
Let's say I want to share a folder, in "private" mode, i.e. without checking the "Allow others ..." or "Guest access".
Then, trying to access it gives :
$ smbclient '//INF-8660/smb-share'
Enter olivier's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.18]
tree connect failed: NT_STATUS_ACCESS_DENIED
But I notice the following in the logs :
[2013/09/19 18:06:54.634703, 0] param/loadparm.c:9114(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/smb-share failed. Permission denied
# ls -ld /var/lib/samba/usershares/
drwxrwx--T 2 root sambashare 4096 Sep 19 18:03 /var/lib/samba/usershares/
However after a :
# chmod 01771 /var/lib/samba/usershares
There's no more any report in the logs. I'm not sure under which user samba tries to access it though... but certainly not root.
Still, access doesn't work: still having :
$ smbclient '//INF-8660/smb-share'
Enter olivier's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.18]
tree connect failed: NT_STATUS_ACCESS_DENIED
I'm a bit dubious whether there is currently any setting that allows authenticating to the server without messing with samba users... which would mean that only option is to allow anyone to access the share unconditionally ?
So, should the permissions be changed on the /var/lib/samba/usershares/ dir ?
Thanks in advance for your help.
Best regards,