On Tue, 10 Oct 2006 11:47:33 -0700 chris <jugg@xxxxxxxxxxx> wrote: > Possible pseudo-solution: > > $old_umask = umask(); > umask(0); > mkdir('newdir', $dmode); > umask($old_umask); Setting the umask from within PHP is a mess, we had that some versions ago and people had all kinds of problem with it becuase the umask seems not to be "thread safe" (or what ever the correct term is). If this is not something you care about because you know what you do you should be able to put an umask(0); call in your config file. Andi -- http://www.splitbrain.org