Just a note for myself (because I always forget):
# change permissions for files in current directory (and all sub-directories):
find ./ -type f -exec chmod 644 {} \;
# change permissions for directories in current directory (and all sub-directories):
find ./ -type d -exec chmod 755 {} \;