Change permission for file and folder on SSH

Just a quick reminder on how to change file and folder permissions in ssh. These settings are suitable for most sites.

For directions:

find /dir_name -type d -exec chmod 755 {} \;

For files:

find /dir_name -type f -exec chmod 644 {} \;

Posted

in

by

Tags:

Comments

Leave a Reply

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