[Samba] Hide the "not allowed to open" shared directories inthe client

Eero Volotinen eero.volotinen at iki.fi
Tue Mar 1 08:24:37 MST 2011


2011/3/1 Allen Chen <achen at harbourfrontcentre.com>:
>
>>> hide unreadable = yes
>>> on global config
>>>
>>> This parameter is really good for my usage, it hides directories and
>>> files that user cannot access.
>>>
>>> --
>>> Eero,
>>> RHCE
>>
>> It works like a charm.
>> Thank you.
>>
> I found this post on the list, and it' not the solution for me.
> My questions is:
> Do we have a setting to hide files on samba share1 if the files' owner is
> not me?
> and, still I can read&write those files through samba share2.
> Samba share1 and share2 point to the same /path/folder.
>
> Thanks,
> Allen
>

Well, hide unreadable = yes and then use filesystem acls set correct permissions

--
Eero


More information about the samba mailing list