- ls -Z #Display security context so it fits on most displays. Displays only mode, user, group, security context and file name.
[hello@localhost ~] ls−Z[hello@localhost ] -rw-rw-r–. hello hello unconfined_u:object_r:user_home_t:s0 v - 特殊权限 [421]ugo
2 275本组成员创建的文件,组内其他人都可以读写
[root@localhost ~] chmod2275/var/www/html[root@localhost ] ll /var/www/
[root@localhost ~]$ d-w-rxsr-x. 4 root root 52 Jun 29 23:40 html - ssl #https
selinux-ls
最新推荐文章于 2022-11-08 16:51:38 发布