find [base directory] -type [f|d] -exec chmod [perm] {} \;