Template:SMF files and directories: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
The following files and directories must be writable for an install. Depending on how your server is set up, this could mean that they must have <b>CHMOD</b> values of 644, 664 or 666 for files, and 755, 775 or 777 for folders:
The following files and directories must be writable for an install. Depending on how your server is set up, this could mean that they must have <b>CHMOD</b> values of 644, 664 or 666 for files, and 755, 775 or 777 for folders the correct chmod required will depend on server configuration, in some cases a wrong chmod will block access to the forum and it will stop running, if you are not sure of the correct value it is recommended to contact your host:
*/attachments
*/attachments
*/avatars
*/avatars
Line 6: Line 6:
*/Smileys
*/Smileys
*/Themes
*/Themes
*/Themes/default/languages/Install.english.php
*agreement.txt
*agreement.txt
*Settings.php
*Settings.php
Line 23: Line 24:


Keep in mind that if you are doing some actions in the admin panel like installing packages or putting the forum into maintenance mode some of the above files/folders will need to made writable again before those changes can be done.
Keep in mind that if you are doing some actions in the admin panel like installing packages or putting the forum into maintenance mode some of the above files/folders will need to made writable again before those changes can be done.
Also keep in mind that chmod is a linux only command and if you are on a windows server you will need to contact your host to have them change any permissions on any files or folders as they can not be changed by the user.

Revision as of 17:50, 30 January 2013

The following files and directories must be writable for an install. Depending on how your server is set up, this could mean that they must have CHMOD values of 644, 664 or 666 for files, and 755, 775 or 777 for folders the correct chmod required will depend on server configuration, in some cases a wrong chmod will block access to the forum and it will stop running, if you are not sure of the correct value it is recommended to contact your host:

  • /attachments
  • /avatars
  • /Packages
  • /Packages/installed.list
  • /Smileys
  • /Themes
  • /Themes/default/languages/Install.english.php
  • agreement.txt
  • Settings.php
  • Settings_bak.php

Once your install is complete the following files/folders should be chmod to not be writable, this will again depend on your server configuration:

  • /avatars
  • /Packages
  • /Packages/installed.list
  • /Smileys
  • /Sources
  • /Themes
  • /agreement.txt
  • Settings.php
  • Settings_bak.php

Keep in mind that if you are doing some actions in the admin panel like installing packages or putting the forum into maintenance mode some of the above files/folders will need to made writable again before those changes can be done.


Also keep in mind that chmod is a linux only command and if you are on a windows server you will need to contact your host to have them change any permissions on any files or folders as they can not be changed by the user.



Advertisement: