4,500
edits
add recommended file permissions |
|||
Line 7: | Line 7: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# find wpfolder -type d -exec chmod 750 {} + | # sudo find wpfolder -type d -exec chmod 750 {} + | ||
# find wpfolder -type f -exec chmod 640 {} + | |||
# chmod 600 wpfolder/wp-config.php | # sudo find wpfolder -type f -exec chmod 640 {} + | ||
<syntaxhighlight> | |||
# sudo chmod 600 wpfolder/wp-config.php | |||
</syntaxhighlight> |