No edit summary |
|||
Line 1: | Line 1: | ||
<includeonly>==Set File and Folder Permissions== | <includeonly>==Set File and Folder Permissions== | ||
File and folder permissions control who can see your files and use your folders. They can control whether you will be able to install [[Modifications|mods]] to your forum. You will use Unix <b>chmod</b> values to designate permissions. On most servers, a setting of 755 for folders and 644 for files will work. If this does not work on your hosting service, you may need 777 or 775 for folders, and 666 or 664 for files. Some hosts do not allow using 777 for folders or 666 for files -- using such high values will cause Internal Server Errors, 500 erors, or other errors. If the permission on your files or folders does not make them writable, the SMF {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er will report the problem -- if it can detect it. | |||
'''Note:''' If a Windows server is being used rather than a Linux server, then you will need to contact your host to change the file/folder permissions. | |||
===Setting File Permissions | ===Setting File Permissions with the {{#switch: {{lc:{{{1|install}}}}}|install=Install|upgrade=Upgrad}}er=== | ||
Using a control panel or FTP client, file permissions can be changed quickly and easily. Usually, FTP programs will allow permissions to be changed by right-clicking files/directories and selecting "Properties", "Attributes" or "Permissions". The desired numerical value can be entered, or if provided, check boxes can be changed. | |||
In many cases, the SMF {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er can handle this for you. If you want to give this a try, skip this step for now, and wait until you come to the appropriate point in the {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er. The {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er might need to ask you for FTP login details to get the job done, so be sure to make a note of them. If you run into any problems setting file permissions with the {{#switch: {{lc:{{{1|install}}}}}|install=install|upgrade=upgrad}}er, you can use the instructions below for setting file permissions with FTP to handle it yourself. | |||
===Setting File Permissions with FTP=== | |||
Using a control panel or [[FTP_-_How_do_I_use_FTP|FTP client]], file permissions can be changed quickly and easily. Usually, FTP programs will allow permissions to be changed by right-clicking files/directories and selecting "Properties", "Attributes" or "Permissions". The desired numerical value can be entered, or if provided, check boxes can be changed. | |||
</includeonly><noinclude>{{Documentation}}</noinclude> | </includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 07:57, 11 April 2015
[edit] [ ] Template documentation
This template is meant to be included in articles on installing and upgrading, to provide the information about CHMOD/file permissions. To see it in action, please look at the testcases, or at Special:WhatLinksHere/Template:Set_file_permissions
Examples:
{{Set file permissions|install}} {{Set file permissions|upgrade}}
- install the word "install" will be inserted at several key points
- update the word "update" will be inserted at several key points
The above documentation is transcluded from Template:Set file permissions/doc. (edit | history) Editors can experiment in this template's sandbox (edit) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |