Verifying permissions
From Joomla! Documentation
(Difference between revisions)
m (New page: {{cookiejar}}) |
|||
| Line 1: | Line 1: | ||
| − | {{ | + | {{incomplete}} |
| + | {{RightTOC}} | ||
| + | |||
| + | == Recommended settings == | ||
| + | * Depending on the security configuration of your Web server the recommended default permissions is: | ||
| + | ** 755 for directories | ||
| + | ** 644 for files | ||
| + | |||
| + | '''Note:''' On file permissions, in general never use 777 if you don't know what you are doing. | ||
| + | * Don't use extensions that require 777 permissions! | ||
| + | |||
| + | |||
| + | == Learning the numbers == | ||
| + | Each digit corresponds to a group of three letters each digit also corresponds to one set of permissions as follows: | ||
| + | * First digit = owner, | ||
| + | * second digit = group, | ||
| + | * third digit = others (everyone else), | ||
| + | |||
| + | |||
| + | '''Note:''' On some servers you may not see the numbers as shown above, what you see is rwxrwxrwx (777) or something similar. | ||
| + | |||
| + | |||
| + | == Meaning of the numbers == | ||
| + | * 777 means EVERYONE can read, write and execute ANY file. | ||
| + | ** This something you NEVER want to be allowed on your server/website. | ||
| + | * 755 is rwx (owner), rw- (group) and rw- (others) or in other words everyone may read and write but only the owner(you) may execute (run) a file. | ||
| + | * 644 is rw-, r--, r-- or EVERYONE can read the file but only the owner may write to the file. | ||
| + | |||
| + | |||
| + | '''NOTE:''' these permission can be applied to directories as well which is why you might see this drwxrwxrwx, the "d" is for directory. | ||
| + | * For a complete explanation read the Wikipedia article: http://en.wikipedia.org/wiki/Filesystem_permissions | ||
| + | |||
| + | |||
| + | == Additional reading == | ||
| + | * [[Where_can_you_learn_more_about_file_permissions%3F| Where can you learn more about file permissions?]] | ||
| + | * [[Why_can%27t_you_install_any_extensions%3F| Why can't you install any extensions?]] | ||
| + | * [[Why_are_my_file_permissions_wrong_after_upgrading| Why are my file permissions wrong after upgrading]] | ||
| + | * [[What_are_the_recommended_file_and_directory_permissions%3F| What are the recommended file and directory permissions?]] | ||
| + | * [[How_do_you_recursively_adjust_file_and_directory_permissions%3F| How do you recursively adjust file and directory permissions?]] | ||
| + | |||
| + | |||
| + | |||
| + | <noinclude>[[Category:Security_FAQ]]</noinclude> | ||
Revision as of 13:37, 21 August 2010
Note
Please note that the content on this page is currently incomplete. Please treat it as a work in progress.
- This article was last edited by Horus 68 (talk| contribs) 2 years ago. (Purge)
Contents |
Recommended settings
- Depending on the security configuration of your Web server the recommended default permissions is:
- 755 for directories
- 644 for files
Note: On file permissions, in general never use 777 if you don't know what you are doing.
- Don't use extensions that require 777 permissions!
Learning the numbers
Each digit corresponds to a group of three letters each digit also corresponds to one set of permissions as follows:
- First digit = owner,
- second digit = group,
- third digit = others (everyone else),
Note: On some servers you may not see the numbers as shown above, what you see is rwxrwxrwx (777) or something similar.
Meaning of the numbers
- 777 means EVERYONE can read, write and execute ANY file.
- This something you NEVER want to be allowed on your server/website.
- 755 is rwx (owner), rw- (group) and rw- (others) or in other words everyone may read and write but only the owner(you) may execute (run) a file.
- 644 is rw-, r--, r-- or EVERYONE can read the file but only the owner may write to the file.
NOTE: these permission can be applied to directories as well which is why you might see this drwxrwxrwx, the "d" is for directory.
- For a complete explanation read the Wikipedia article: http://en.wikipedia.org/wiki/Filesystem_permissions