[Samba] Hide the files that doesn't have permission to access
Nguyen Xuan. Hai
hai.nguyenxuan at toshiba-tsdv.com
Wed Oct 14 09:55:56 UTC 2015
Hi all,
I want to shows a user only the files that he/she has permission to access.
I configured smb.conf like that:
[global]
workgroup = STORAGE
encrypt passwords = yes
security = user
access based share enum = yes
hide unreadable = yes
hide unwriteable files = yes
[smb_shr1]
path = /mnt/LV002/share1
read only = no
create mode = 0777
directory mode = 0777
public = yes
valid users = hai
[smb_shr2]
path = /mnt/LV002/share2
writable = yes
create mode = 0777
directory mode = 0777
public = yes
valid users = test
It is no effect. From windows 8 client, I accessed to samba server and
logged in by user "hai" but I still see two share folders (smb_shr1,
smb_shr2).
Thanks!
--
=====================================================================
Nguyen Xuan Hai (Mr)
Toshiba Software Development (Vietnam) Co.,Ltd
--
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com
More information about the samba
mailing list