Your skill will accomplish
what the force of many cannot
I'm surprised nobody has answered you yet.
On reflection, the title probably doesn't match the actual question (which boils down to directory permissions) all that well.
So I guess the & 0222 is making sure that each dir is not writable?
Thanks for that - that makes sense (typo - it's 0022, not 0222).
So .... according to stat(), all directories on my windows Vista box (even those that I can't write to) are drwxrwxrwx.
Does this signify some shortcoming of the stat function on Windows ?
Or does it signify some problem with the way this box is set up ?
Or does it mean something else altogether ?
And what are the ramifications re the particular condition in sub env_untaint that's posing the problem ?
I haven't found anything helpful about this in the stat or perlport documentation.