I had a tech at the hosting company take it upon himself to change file permissions on an existing site that was functioning fine. It messed the site up. I think everything is back to normal but I want to conform what the Expression Engine tech support folks feel permissions should be. What I have is on all files:
All files should be 644 except what is called out in the docs on the install page:
* /system/expressionengine/config/config.php
* /system/expressionengine/config/database.php
All folders 755 except the following folders which should be 777:
* /system/expressionengine/cache/
* /images/avatars/uploads/
* /images/captchas/
* /images/member_photos/
* /images/pm_attachments/
* /images/signature_attachments/
* /images/uploads/
What about index.php files in all folders? I noticed that some are still owned by root. This is wrong. Should file permissions for index.php files be 644 as well?
What about folders and files inside folders that are set to 777? Should they also be 777 as well?
What about the templates folder? Should all subfolders and files be 777 as well?
What are the exceptions to folders set to 755 and files set to 644?