【发布时间】:2015-08-16 01:12:20
【问题描述】:
我将我的工作项目权限设置为:
- 所有目录为 755
- 所有文件为 644
我通过运行下一个命令来做到这一点:
$ find /path/to/project -type d -exec chmod 0755 {};
$ find /path/to/project -type f -exec chmod 0644 {};
它运行良好,但有点缓慢,尤其是在虚拟机上。
我能否以任何其他方式提高此任务的性能?
【问题讨论】:
标签: linux ubuntu permissions find chmod