[Samba] samba veto files: underscore

Jeremy Allison jra at samba.org
Thu Jan 28 17:19:32 MST 2010


On Tue, Jan 26, 2010 at 05:41:27PM +0100, Evas Hofmans wrote:
> Hello all,
> 
> I'm trying to hide files beginning with a underscore ( "_" )  and hidden files from my samba share's so i added this to my smb.conf:
> 
>    veto files = /_*/.*/
> 
> The section with the dot works, but the one with the underscore doesn't. I also tried /\_*/.*/ but this has the same result.
> 
> Any ideas how to hide the files beginning with a underscore?

This should work. If not, please log a bug at bugzilla.samba.org
so we can track it.

Thanks !

Jeremy.


More information about the samba mailing list