rm: cannot remove `xxx’: Operation not permitted问题的处理方案

第一步:22.txt

lsattr 22.txt 查看文件属性

看到的情况

-----a-------

第二步:去除a的属性

chattr -a 22.txt

第三步:在此执行删除

rm 22.txt  

 

原文地址:https://www.cnblogs.com/one-tom/p/10698646.html