Created
April 11, 2016 10:35
-
-
Save mtrl/3d42fdf5127f4abb950dbf21c1db601c to your computer and use it in GitHub Desktop.
WordPress permissions for update
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
sudo chown www-data:www-data -R * | |
sudo find . -type f -exec chmod 775 {} \; # Change file permissions | |
sudo find . -type d -exec chmod 775 {} \; # Change file permissions | |
# Switch them back to the correct permissions: | |
sudo find . -type f -exec chmod 755 {} \; # Change file permissions | |
sudo find . -type d -exec chmod 644 {} \; # Change file permissions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment