mymilkexpired
10-09-2003, 09:35 PM
Guys/gals got a good one for you.
Im using a PHP upload script that was previously working flawlessly. My host moved me to another server and now for some reason when i do a php file upload it assignes the file permissions: 600 and owner gets set to 99. Im not sure what eh owner was set to previously when it was working before the site move, however i do know that permissions were set to: 644 by default when it was uploaded.
The real problem is that a good deal of my site users cannot see their files when the permissions are set to 600, the get forbidden errors. Additionally i cant change the permissions back to 655, 777, 644 or anything. The only thing i can do is delete the file. I cant even download it through ftp.
So my question is: Is there an apache setting that could affect this that might be different from my original server thats causing this problem? Its become a headache for me and i would like to get it resolved... Any ideas?
Im using a PHP upload script that was previously working flawlessly. My host moved me to another server and now for some reason when i do a php file upload it assignes the file permissions: 600 and owner gets set to 99. Im not sure what eh owner was set to previously when it was working before the site move, however i do know that permissions were set to: 644 by default when it was uploaded.
The real problem is that a good deal of my site users cannot see their files when the permissions are set to 600, the get forbidden errors. Additionally i cant change the permissions back to 655, 777, 644 or anything. The only thing i can do is delete the file. I cant even download it through ftp.
So my question is: Is there an apache setting that could affect this that might be different from my original server thats causing this problem? Its become a headache for me and i would like to get it resolved... Any ideas?