问题标签 [777]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
4 浏览

directory - 如何搜索具有 777 权限的目录(如危险)

我看到一些有关使用 find 搜索和列出具有 777 权限的目录的相关讨论。

find {root}/ -type d -perm 777 -exec find {} -name "*.php" ;

我将如何修改此命令,省略 php 部分?

哎呀。我找到了答案:ls -lR | grep ^d | grep "rwx"