CHMOD Files



The steps on this page depend on what platform your server is running on. Most web-hosts run Linux servers, but if you are in doubt, you may check with your webhost.

Contents

[edit] *nix servers

[edit] Introduction

MyBB requires certain files and directories to have different permissions in order for it to write to the files. However, the permissions required also depend on how your server is setup. Folders usually should be set to 777. Setting files to 777 will provide read/write/execute access to any user of the server, which may be a security risk, but provides the least troublesome install and operation. You can usually give 666 access to files.

If you are using a GUI program (where you do not have to use commands to perform actions, such as SmartFTP, then usually, you should be able to right click on the file you wish to CHMOD and select something such as "Properties" or "CHMOD." In SmartFTP 2.0, the option is called "Properties / CHMOD." When you have found the right window, most likely there will be checkboxes letting you choose the Permission.

If your server is run as a CGI module, the user that is used is usually the root or main user. As such, permission for 'group' and 'other's can be set to a lower value if you need added security.

[edit] Required Changes

The files and folders that require CHMODing for MyBB to install are

 filename                    CHMOD Permission
 --------------------------------------------
 inc/config.php              666
 inc/settings.php            666
 uploads/                    777
 uploads/avatars/            777

[edit] Optional Changes

The files and folders that may be CHMOD for extra functionality are

 filename                    CHMOD Permission
 --------------------------------------------
 inc/languages/english/      777
 admin/backups/              777
 css/                        777

[edit] See Also

[edit] Windows Servers

If your forum is running on a Windows server (note we are not talking about your computer, but the server where your files are going to be), you may need to clear the read-only flag for the above files. Please contact your web host for details on how to do this.


« Upload Files The Installer »


This page was last modified 04:30, 22 April 2008.