This file is intended to be a quick reference guide on what standard WordPress file permissions should be.
All files should be 644. Use the following command from the root directory of the website:
sudo find . -type f -exec chmod 644 {} +
All folders should be 755. Use the following command from the root directory of the website:
sudo find . -type d -exec chmod 755 {} +
wp-config.php should be 600, this will allow WordPress to see and use the file but prevent others from seeing the database information that is inside the file.
sudo chmod 600 wp-config.php