r我收到一个提示,要求我删除目录中所有者 (u) 无法、w、 、 、 在一个命令中删除的所有文件x。
r
w
x
我尝试了这个命令:
find data -type f ! -perm -u=rwx -exec rm -f {} \;
...但我认为它删除了太多文件。
permissions find rm ownership
find ×1
ownership ×1
permissions ×1
rm ×1