只修改文件,不修改文件夹的命令行
find . -type f -print0 | xargs -0 chmod 664
因此可以先通过chmod 755 -R ./*, 修改所有的文件和文件夹,然后再通过上面的命令修改文件即可。
chmod 755 -R ./*