MyBB Community Forums

Full Version: Safe File Permissions?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all, are these file permissions safe to apply?


File Permissions
Contents

Chmod with *nix systems
Chmod with Windows systems

Certain file permissions are required for MyBB to function correctly. Once you’ve uploaded your files, you will need to set the permissions on certain files and directories to allow PHP to write to and execute from them.

These files need a chmod of 666:

./inc/settings.php
./inc/config.php (you must rename config.default.php to config.php first)
./inc/languages/your_language/all files (optional)
./inc/languages/your_language/admin/all files (optional)

These files need a chmod of 777:

./cache/
./cache/themes/
./uploads/
./uploads/avatars/
./admin/backups/ (optional)

For increased security, you can change the file permissions of the ./inc/config.php file to 644 or 444 after mybb is installed and configured correctly.