Useful SSH CHMOD Command

My new web hosting provider, MediaTemple (affiliate link) DigitalOcean (still affiliate link), allows user to access their hosting using SSH. Bit by  bit, I’m learning new #SSH commands. Here’s a  command to change CHMOD/permission.

For Directories:

find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} ;

For Files:

find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} ;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.