[Samba] hide directories?

Mauricio Silveira msilveira at linuxbr.com
Mon Apr 16 15:16:54 GMT 2007

Just add the parameter "hide unreadable = yes" to the share declaration.
If you want to hide Rean-Only files too, just add "hide unwriteable 
files = yes"
I think a service restart might be needed, 1st try to logoff/logon in a 
client machine,  the try the command `smbcontrol smbd reload-config` 
then logoff/logon again; If both fail, simply restart the service and 
all goes well.


Klemens Lichter wrote:
> Hi,
> is there a possibility to hide directories from to bee seen from a windows
> box?
> I have a samba share containing several directories. Some of them have
> permissions only for a privileged group of users (group special) and some
> others are allowed for all users (group users) and some for a special
> subgroup of users (group subusers). What I want is that only members of
> group special are able to see the existence of those directories that are
> only accessible for them and also only members of subgroup are able to see
> the existence of their directories. I was used to have this comfort on our
> prevoius novell netware server and I think this is a great feature of
> security. People that don´t see the existence of certain directories or
> files don´t ask for them and don´t think about why they can´t access them.
> Please feel free to ask for more information if you need them to answer my
> question.
> Thanks in advance
> Klemens

More information about the samba mailing list