MyBB Community Forums

Full Version: [B] File permission alert
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all,

When "inc/config.php" and "inc/settings.php" have not writable permission, then you can see that MyBB* ask you to CHMOD them to 777. but i think it must be 666.

* AdminCP ยป Tools & Maintenance
No, it is 777, not 666.
Files don't need to be 777, 666 is fine...
It really doesn't matter though. If you get hacked and your files are 666, there's still nothing you can do.
But if it tells you to put them to 777, that's an unnecessary risk. IIRC when they're 666 there's no error so I think the coding is correct, the language files just need to be changed to say to set it to 666 instead of 777.
This topic marked as [B].
So if related language files will not correct in next version?
Some hosts don't work with CHMOD 666 capabilities. Therefore we go with the number that will work with everyone, and that is 777. If your inc/settings.php and inc/config.php work fine with 666, then you may change it to that.

This is by design.