Re: [PHP] File perms when dir already exists

2003-01-20 Thread Marek Kilimajer
Simply call umask everytime [EMAIL PROTECTED] wrote: Hello all! I have a number of scripts that upload 5 files at a time each. The first one creates the dir using umask(000)and mkdir($dir,0777) which gives the first five files perms 777, which is what I want. I have the subsequent scripts chec

[PHP] File perms when dir already exists

2003-01-18 Thread rw
Hello all! I have a number of scripts that upload 5 files at a time each. The first one creates the dir using umask(000)and mkdir($dir,0777) which gives the first five files perms 777, which is what I want. I have the subsequent scripts check if the dir exists and if not does the same thing with