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

Jump to: navigation, search
(Copied from http://wiki.simplemachines.org/smf/index.php?title=Template:Set_file_permissions&oldid=13873 -- list of files and directories, less install and upgrade)
 
No edit summary
Line 1: Line 1:
The following files and directories must be writable. 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:
*/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
*Settings_bak.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.

Revision as of 17:47, 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:

  • /attachments
  • /avatars
  • /Packages
  • /Packages/installed.list
  • /Smileys
  • /Themes
  • 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.



Advertisement: