[Samba] Veto files only at one location

Jeremy Allison jra at samba.org
Tue Mar 24 15:49:27 GMT 2009


On Tue, Mar 24, 2009 at 03:46:31PM +0000, Kevin Bailey wrote:
> This *must* be do-able!
>
> If I want to veto a single directory at the root of the users home  
> directory
>
> i.e.
>
> /home/user/Maildir
>
> I can with
>
> veto files = /Maildir/
>
> However,  this prevents the user from being able to create  
> directories/files with that name *anywhere* in the directory structure.
>
> Is there a way I can set 'veto files' to only veto one particular directory?

No, that was never part of the design of the parameter, sorry.
The code would need to be expanded to do regexp processing
in order to do this. Possible, but no one has yet needed it.

Jeremy.


More information about the samba mailing list