Change permissions recursively

Use the below command to set 755 to folder and 644 to file recirsively

find . -type d -exec chmod 0755 {} \;

find . -type f -exec chmod 0644 {} \;