Installer Suggests Insane CHMOD
#11
(02-07-2012, 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

No longer involved in the MyBB project.
Reply
#12
(02-07-2012, 08:01 AM)Nathan Malcolm Wrote:
(02-07-2012, 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
Reply
#13
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)