Last active
August 29, 2015 14:13
-
-
Save DevelopKim/35b9cb72c6c59087362b to your computer and use it in GitHub Desktop.
set wordpress permission
From http://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress
This file contains 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 -R www-data:www-data * # 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