[Samba] Reverse Veto Files - let's try again!

Jeremy Allison jra at samba.org
Thu Aug 6 11:31:41 MDT 2009


On Thu, Aug 06, 2009 at 04:36:51PM +0100, Illtud Daniel wrote:

> But now we've gone full circle, and you may as well just
> extend the Veto Files syntax to allow:
>
> Veto Files = foo.jpg, !*.jpg, *
>
> To allow the same thing, and save us from introducting another
> configuration option (assuming a first match and that matching
> anything following a ! is allowed)
>
> *Taking the suggestion that Veto Files takes precedence, and
> that Allowed Files implies that all other files are vetoed, then
> your requirement would be met by:
>
> Veto Files = foo.jpg
> Allowed Files = *.jpg
>
> Although that could be confusing for a user - "why is my bar.gif
> file not allowed, it's not in the Veto Files list?"
>
> ...unless there's more direction on this, I'll just (try to) implement
> * above and somebdy else can throw it all out and do Something
> Better. I won't have time to look at this until September at the
> earliest.

Don't change the veto files semantics please. Just add
the "Allowed files" option.

Jeremy.


More information about the samba mailing list