permissions of ‘XXXX‘: Operation not permitted

使用root用戶操作,報錯誤 rm: cannot remove 'ryukd.sh': Operation not permitted 1. chmod的底層實現是chattr命令,但是chattr命的功能更爲強大,甚至可以鎖定文件,即使root用戶也操作不了此文件 2. chattr是用來更改文件屬性,lsattr可用來查看文件的屬性,執行命令lsattr  filename查看當前文件屬性,
相關文章
相關標籤/搜索