Arieh
Verified User
I don't think mod_ruid2 prevents dirs/files with 777 being loaded, others like suphp do that.
Also although I changed that 711 to 755 in the wiki, I just did some testing:
If I chmod public_html to 711, or even just 700: php files are still able to create files and dirs. Same works on subdirs. So I don't really think 755 is necessary anywhere for apache.
Also if I chmod a public_html 777 and create a file in there with 777, I still can't read it from another user. I suppose because the parent dirs don't allow execute for others.
Right now I'm not sure what the default should be.
Also although I changed that 711 to 755 in the wiki, I just did some testing:
If I chmod public_html to 711, or even just 700: php files are still able to create files and dirs. Same works on subdirs. So I don't really think 755 is necessary anywhere for apache.
Also if I chmod a public_html 777 and create a file in there with 777, I still can't read it from another user. I suppose because the parent dirs don't allow execute for others.
Right now I'm not sure what the default should be.