File permission for wordpress

File permissions chown www-data:www-data  -R * # Let Apache be ownerfind . -type d -exec chmod 755 {} ;  # Change directory permissions rwxr-xr-xfind . -type f -exec chmod 644 {} ;  # Change file permissions rw-r–r–