The following information is directly from the phpBB3 Chmod Permissions KB article on phpbb.com. I found these to work as expected.
- config.phpAll other files – 644
- 666 before installation
- 644 after installation
- All other files – 644
- All directories – 755
- The files directory – 777
- The cache directory – 777
- The store directory – 777
- The images/avatars/upload directory – 777
Modifying Permissions
Change all directory permissions in the specified path to 755
find /home/user1/ -type d -exec chmod 755 {} \;
Change all file permissions in the specified path to 644
find /home/user1/images/avatars/upload/ -type f -exec chmod 644 {} \;
Troubleshooting
- If having any issues with avatars/attachments displaying make sure you reset the browser cache after making any permission changes.
- I’ve found that cache/data_global.php sometimes needs 777 or some administrator actions fail.