On 8/3/2009, Jeremy Allison (j...@samba.org) wrote:
>> If you wanted to veto everything except jpeg files I imagine you
>> would not use the veto files directive at all and simply specify:
>>
>> Allowed Files = /*.jpg/
>> 
>> If you wanted to allow only jpeg files but not foo.jpg you would use Allowed 
>> Files and Veto Files:
>> 
>> Veto Files = /foo.jpg/
>> Allowed Files = /*.jpg/

> Yes, this is pretty much how I envisaged this working...

It would be much more flexible if the use of the ! as an exception
designator was allowed for both the Allow and Veto Files options, so for
the above, you could:

Allowed Files = !foo.jpg, *.jpg

-- 

Best regards,

Charles
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to