MyBB Community Forums

Full Version: Installer Suggests Insane CHMOD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2012-02-07, 12:49 AM)Mariku Wrote: [ -> ]Is there an overview somewhere that lists which of the MyBB files require what permissions to function properly? That would be helpful information for someone who does not know the inner workings of MyBB in detail.

Quote:As a general rule, all files should be CHMOD to 644, and all folders should be CHMOD to 755. If files or folders are given extra permissions, it may be a security risk. There are, however, some files and folders that need different CHMOD permissions to enable them to work.

Required – ./inc/settings.php – 666
Required – ./inc/config.php – 666 (install) 444 (after installation)
Required – ./cache/ – 777
Required – ./cache/themes/ – 777
Required – ./uploads/ – 777
Required – ./uploads/avatars/ – 777
Optional – ./admin/backups/ – 777
Optional – ./inc/languages/*language*/*all files*/ – 666
Optional – ./inc/languages/*language*/admin/*all files*/ – 666

(2012-02-07, 08:01 AM)Nathan Malcolm Wrote: [ -> ]
(2012-02-07, 12:49 AM)Mariku Wrote: [ -> ]Is there an overview somewhere that lists which of the MyBB files require what permissions to function properly? That would be helpful information for someone who does not know the inner workings of MyBB in detail.

Quote:As a general rule, all files should be CHMOD to 644, and all folders should be CHMOD to 755. If files or folders are given extra permissions, it may be a security risk. There are, however, some files and folders that need different CHMOD permissions to enable them to work.

Required – ./inc/settings.php – 666
Required – ./inc/config.php – 666 (install) 444 (after installation)
Required – ./cache/ – 777
Required – ./cache/themes/ – 777
Required – ./uploads/ – 777
Required – ./uploads/avatars/ – 777
Optional – ./admin/backups/ – 777
Optional – ./inc/languages/*language*/*all files*/ – 666
Optional – ./inc/languages/*language*/admin/*all files*/ – 666

Thanks very much!

Cheers,

Matt
OP doesn't know a damn thing. Don't worry about it. Chmod according to MyBB requirements. The only thing I would change is after you've installed to chmod inc/config.php to 644. It doesn't normally need to be writable.
Pages: 1 2