For directories only do this.
find . -type d -exec chmod 775 {} \;For files only do this.
find . -type f -exec chmod 644 {} \;And finally, this command will add execute permissions to directories.
chmod -R +XFor directories only do this.
find . -type d -exec chmod 775 {} \;For files only do this.
find . -type f -exec chmod 644 {} \;And finally, this command will add execute permissions to directories.
chmod -R +X