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

Jump to: navigation, search
No edit summary
No edit summary
 
(6 intermediate revisions by 4 users not shown)
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 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:
<includeonly>*/attachments
*/attachments
*/cache
*/avatars
</includeonly><noinclude>This template should contain only a list of SMF files and directories. This template is used in a number of places. Please be careful about changing the contents of this template</noinclude>
*/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.

Latest revision as of 11:20, 12 September 2014

This template should contain only a list of SMF files and directories. This template is used in a number of places. Please be careful about changing the contents of this template



Advertisement: