rafaelmaeuer
12/13/2016 - 5:34 PM

Correct CHOWN and CHMOD for Wordpress From http://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress

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--