Linux下删除某个目录时,提示Operation not permitted

[root@izwz91quxhnlkan8kjak5hz wwwroot]# ls
default  www.syshop.com
[root@izwz91quxhnlkan8kjak5hz wwwroot]# rm -rf www.syshop.com/
rm: cannot remove ‘www.syshop.com/.user.ini’: Operation not permitted
[root@izwz91quxhnlkan8kjak5hz www.syshop.com]# lsattr .user.ini 
----i--------e-- .user.ini
[root@izwz91quxhnlkan8kjak5hz www.syshop.com]# chattr -i .user.ini 
[root@izwz91quxhnlkan8kjak5hz www.syshop.com]# rm -rf .user.ini 
[root@izwz91quxhnlkan8kjak5hz wwwroot]# rm -rf www.syshop.com/

 

posted @ 2024-05-03 11:52  童年的回忆  阅读(46)  评论(0编辑  收藏  举报
如果本博客解决了您的问题,可以微信支付宝打赏鼓励一下作者哦,在此表示感谢