Displaying 3 results from an estimated 3 matches for "smb_shr1".
2015 Oct 14
3
Hide the files that doesn't have permission to access
...i 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...
2015 Oct 15
3
Hide the files that doesn't have permission to access
Thank you guys for your reply.
I tried but it still does not work
On 10/14/2015 5:37 PM, Stéphane PURNELLE wrote:
>
> These parameters must be put on share section, not in global section
>
> hide unreadable = yes
> hide unwriteable files = yes
> example
>
> [smb_shr1]
> path = /mnt/LV002/share1
> read only = no
> create mode = 0777
> directory mode = 0777
> public = yes
> valid users = hai
> hide unreadable = yes
> hide unwriteable files = yes
>
> [smb_shr2]
> path...
2015 Oct 21
0
Hide the files that doesn't have permission to access
...I tried but it still does not work
> On 10/14/2015 5:37 PM, Stéphane PURNELLE wrote:
>
>>
>> These parameters must be put on share section, not in global section
>>
>> hide unreadable = yes
>> hide unwriteable files = yes
>> example
>>
>> [smb_shr1]
>> path = /mnt/LV002/share1
>> read only = no
>> create mode = 0777
>> directory mode = 0777
>> public = yes
>> valid users = hai
>> hide unreadable = yes
>> hide unwriteable files = yes
>>...