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.
関数set-file-modesは知っていますが、「u+x」のようなものはサポートしていません。
elispの「u+x」のようなものをサポートする関数はありますか?
完全なソリューションを更新します。
(set-file-modes fname (file-modes-symbolic-to-number "u+x" (file-modes fname)))
file-modes-symbolic-to-number「u+x」を数値に変換する方法を検討することをお勧めします。
file-modes-symbolic-to-number