我想删除文件' 2915158693.shtml&#39 ;; 但系统显示:
rm:无法删除`2915158693.shtml':不允许操作。
如何删除文件?
[root]# lsattr ../ |grep 0721
----------I---- ../0721
[root]# lsattr 2915158693.shtml
--------------- 2915158693.shtml
[root]# id -u
0
[root]# rm 2915158693.shtml
rm: remove write-protected regular file `2915158693.shtml'? y
rm: cannot remove `2915158693.shtml': Operation not permitted
[root]#
答案 0 :(得分:1)
chmod 700 2915158693.shtml && chown root:root 2915158693.shtml
然后尝试将其删除
答案 1 :(得分:0)