shell

lsattr chattr 文件安全设置

[root@test_android_client_download xianlaigames]# lsattr
-------------e- ./jilinmj.apk
[root@test_android_client_download xianlaigames]# cha
chacl       chage       chainsaw    chardetect  chattr     
[root@test_android_client_download xianlaigames]# chattr +i jilinmj.apk
[root@test_android_client_download xianlaigames]# lsattr
----i--------e- ./jilinmj.apk
[root@test_android_client_download xianlaigames]# rm -f jilinmj.apk
rm: cannot remove `jilinmj.apk': Operation not permitted

posted @ 2017-02-09 11:36  devops运维  阅读(343)  评论(0编辑  收藏  举报
python