Template:Set file permissions: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
Line 1: Line 1:
<includeonly>==Set File and Directory Permissions==
<includeonly>==Configuración de permisos de archivos y directorios==


File and directory permissions control who can see your files and use your directories. They can control whether you will be able to install [[Modifications|mods]] to your forum. On Linux and other Unix-like servers the [[chmod|chmod command]] is used to designate permissions. On most servers, a setting of 755 for directories and 644 for files will work. If this does not work on your hosting service, you may need 777 or 775 for directories, and 666 or 664 for files. Some hosts do not allow using 777 for directories 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 directories 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.
File and directory permissions control who can see your files and use your directories. They can control whether you will be able to install [[Modifications|mods]] to your forum. On Linux and other Unix-like servers the [[chmod|chmod command]] is used to designate permissions. On most servers, a setting of 755 for directories and 644 for files will work. If this does not work on your hosting service, you may need 777 or 775 for directories, and 666 or 664 for files. Some hosts do not allow using 777 for directories 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 directories 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.

Revision as of 22:35, 18 April 2022

[edit] [purge] 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


Advertisement: