chmod 报错 changing permissions of ‘xxx’: Operation not permitted

  • chmod的底层实现是 chattr命令,用此命的功能更为强大,甚至可以锁定文件,即使root用户也操作不了此文件。
  • 先使用lsattr查看文件属性

`bash
lsattr temp

Original: https://www.cnblogs.com/outliver/p/16720011.html
Author: Grey_xx
Title: chmod 报错 changing permissions of ‘xxx’: Operation not permitted

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/606494/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球