[Samba] Hide files.

Joris De Pooter joris.de.pooter at atempo.com
Fri Mar 25 13:32:58 GMT 2005


RBL (Martijn) a écrit :

>Hello Samba,
> 
>I have a question and I can not find it on the web.
> 
>I have a share and that works fine but there as files in it I want to hide.
>(same share as the webserver)
> 
>I want to hide the *.php files.
> 
>My question is"How do I do that?"
>Subdirs is already hidden but the files in the root/dir of the share not.
> 
>The conf file is included.
> 
>Kind regards,
>Martijn Zuiderwijk
> 
> 
>
>  
>
Hi,

there's an option in smb.conf

In your share, put
hide files = /*.php

Hope this helps :)

-- 
Joris De Pooter



More information about the samba mailing list