Change WordPress Permissions via the Shell over SSH

This is a very simple execution via Termial on Mac or any other free SSH software for windows.

Login to your server via SSH and enter the following commands to change your WordPress directory and file permissions.

Typical is: command is USER@IP.ADDRESS followed by your password, you can navigate through folders using the CD command.

 

Directory Permissions

Set permissions on all directories to 755.

find . -type d -print -exec chmod 755 {} \;

File Permissions

Set permissions on all files to 644.

find . -type f -print -exec chmod 644 {} \;