Set the Correct Permissions for WordPress Files

WordPress permissions should be set to 755 for directories and 644 for files.
The entire set must have the same user/group as the server.

chown www-data:www-data -R *
find . -type d | xargs chmod -v 755
find . -type f | xargs chmod -v 644