How do you recursively adjust file and directory permissions?
From Joomla! Documentation
(Difference between revisions)
(New page: '''Using Joomla! Administration''' In the Back-end, go to Site --> Global Configuration --> Server. '''Using the UNIX shell''' '''Note:''' The find command automatically assumes that i...) |
m (update for rarr template use) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
'''Using Joomla! Administration''' | '''Using Joomla! Administration''' | ||
| − | In the Back-end, go to Site | + | In the Back-end, go to {{rarr|Site,Global Configuration,Server}}. |
'''Using the UNIX shell''' | '''Using the UNIX shell''' | ||
| Line 19: | Line 18: | ||
# You may need to reset write permissions to install more extensions. | # You may need to reset write permissions to install more extensions. | ||
| − | [[Category:FAQ]] | + | <noinclude>[[Category:FAQ]] |
[[Category:Administration FAQ]] | [[Category:Administration FAQ]] | ||
[[Category:Installation FAQ]] | [[Category:Installation FAQ]] | ||
[[Category:Version 1.5 FAQ]] | [[Category:Version 1.5 FAQ]] | ||
| + | [[Category:Security]][[Category:Security FAQ]]</noinclude> | ||
Latest revision as of 22:26, 5 November 2012
Using Joomla! Administration
In the Back-end, go to Site → Global Configuration → Server.
Using the UNIX shell
Note: The find command automatically assumes that it should start from the current directory. To be safe, go to your public_html directory and specify a path as the first argument. Some shells, such as bash on Apple OS X, must have a path specified in the find command.
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 707 images
chmod 707 images/stories
chown apache:apache cache
Notes:
- Test all third party extensions after changing permissions.
- You may need to reset write permissions to install more extensions.