I have a shared hosting account that uses cPanel and I think su_php. By default, the permissions for my public_HTML directory are set to 750, which allows my site and all folders/files inside public_HTML to be viewable by anyone who visits the site. I'm assuming this is because su_php allows the server to run as my user, thus being able to process php, read files, etc, and serve them to site viewers; rendering any permissions for "other" unnecessary.
But if I set the permissions of any folders within the public_HTML directory to 750 (instead of 755) and I try to visit a page inside that folder, the browser gives me a 403. I'm having trouble understanding why my public_HTML folder can be set to 750, but folders inside it need to be set to 755. If anyone could help me out with this, I'd really appreciate it!
public_html
folders are also set to0750
.public_html
belongs to a different group than all your other files/folders (the Apache UID I think).