Jeremy Allison wrote:
On Tue, Mar 24, 2009 at 03:46:31PM +, 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.
Thanks for the definitive reply.
If the user tries to create a directory (or file) with the vetoed name
then they get an error from Windows. The folder looks like it has a
name of 'New Folder' initially but this disappears when the view is
refreshed.
So in other words - as it stops the user from being able to create a
folder/file with that name it kinda fails safe.
Thanks - and well done for the column in Linux Format - always a good read.
Kevin
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba