View Single Post
Old 03-14-2004, 10:04 PM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default

Quote:
Originally posted by Zer0Racer
But please explain to me why it has to be with those double /*/* at the end. I wouldn't allow MKD in any DVD1, DISC1 dirs. Or am I missing something here?
In fact, to make it more understandable, the last star is not needed:

MakeDir = */CD?/*/* !*
should be
MakeDir = */CD?/*/ !*

But since * means anything, including nothing, having a trailing * doesn't change anything.

And that was also the problem with your old rules...
MakeDir = */CD?/* !*
is equivalent to
MakeDir = */CD?/ !*
and would match MKD /somedir/CD1/
so nobody could MKD a CD1 dir anywhere...

By adding another dir level, we deny MKD of any subdir inside a CD? dir:
MakeDir = */CD?/*/* !*
would match MKD /somedir/CD1/some.other.dir/
but not MKD /somedir/CD1/
Mouton is offline   Reply With Quote