in reply to Re: mkpath()
in thread mkpath()

Thanks Improv! This works.

But I still don't understand why I have to set the umask to oct 0...

Anyway, at least the code works now.