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.
シェルスクリプトから、拡張属性を削除しようとしています
setfattr -x security.selinux file.txt
file.txt のモードは 777 ですが、「許可拒否エラー」が発生します。
どうすればこれを修正できますか?
おそらく、ユーザーは を使用してスクリプトを実行する必要がありますsudo。
sudo