[Samba] veto files

Jeremy Allison jra at samba.org
Tue Jun 16 17:23:09 UTC 2020


On Tue, Jun 16, 2020 at 02:16:49AM -0300, Marcio Demetrio Bacci via samba wrote:
> Hi
> 
> I have many shares on my Samba 4 file server and I would like to restrict a
> long list of files to most of these shares.
> 
> Is it possible to specify the prohibited files in the global section of
> smb.conf and apply them to most shares, except for a few?

Sure. Set a [global] veto files list, then overide it in
the specific share definitions you don't want them.



More information about the samba mailing list