Template:SMF files and directories From Online Manual

Revision as of 17:50, 30 January 2013 by Illori (talk | contribs)
Jump to: navigation, search

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: