Created
July 6, 2018 14:41
-
-
Save marco-souza/ff5587e7e52faecba075edb19ccf06b9 to your computer and use it in GitHub Desktop.
Update WordPress permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chown www-data:www-data -R * # Let Apache be owner | |
| find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x | |
| find . -type f -exec chmod 644 {} \; # Change file permissions rw-r--r-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment