Change Directory Permission recursively

July 9, 2021 . 1 MIN READ

Change Directory Permission recursively.

$ find . /var/www/html/ -type d -exec chmod 755 {} \;

Change File Permission recursively.

$ find . /var/www/html/ -type f -exec chmod 644 {} \;

Leave a Reply

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