Setting WordPress File/Folder Permissions in Linux Terminal
Published: September 29, 2014 | Last Modified: September 29, 2014
To set the WordPress file and folder permissions in Linux terminal:
Go to the WordPress directory:
cd /path/to/wordpress/
Change all directories to 755:
sudo find . -type d -exec chmod 0755 {} \;
Change all files to 644:
sudo find . -type f -exec chmod 0644 {} \;