Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我输入“-R 777”时,我得到:file-modes-symbolic-to-number:“R 777”附近模式中的解析错误。
不支持递归操作dired-do-chmod。
dired-do-chmod
不过,作为 shell 命令很容易做到这一点: M-! chmod -R 777 (files) RET
chmod -R 777 (files)
或者,Dired+库diredp-do-chmod-recursive为此提供了一个命令,绑定到M-+M(显然是几天前才添加的,所以这是一个适时的问题)。
diredp-do-chmod-recursive