CHMOD recursively on directories and files

Directories:

find /path/to/directory -type d -exec chmod 755 {} +

Files

find /path/to/directory -type f -exec chmod 644 {} +