文件

find /new-dir -type f -exec chmod 0644 {} \;

目录

find /new-dir -type d -exec chmod 0755 {} \;