BenSkiddle
05-03-2005, 05:53 PM
I have php 4.3.11 running on FreeBSD 5.3 and Apache 2.0.52 (php running as a cgi)
Recently I have had lots of problems with file permissions when creating new files. Everything was working fine before I upgraded to 4.3.10
I think I have tracked this down to the umask value. I dont set this anywhere on my scripts. However, if I
PHP Code:
echo umask();
on a test page, sometimes it shows '18' and sometimes it shows '63'
I can refresh the page and it flips between 18 and 63. There is only one other site on the server so im pretty sure nothing else is changing the config
This is causing all sorts of problems - any ideas??
Recently I have had lots of problems with file permissions when creating new files. Everything was working fine before I upgraded to 4.3.10
I think I have tracked this down to the umask value. I dont set this anywhere on my scripts. However, if I
PHP Code:
echo umask();
on a test page, sometimes it shows '18' and sometimes it shows '63'
I can refresh the page and it flips between 18 and 63. There is only one other site on the server so im pretty sure nothing else is changing the config
This is causing all sorts of problems - any ideas??