「man ls」を参照した後、「ls -Z」がセキュリティコンテキストを表示できることを示します。
-Z, --context
Display security context so it fits on most displays. Displays only mode, user, group, security context and file name.
" ls -Z"コマンドを実行すると、出力は次のようになります。
[root@localhost ~]# ls -Z
-rw-------. root root system_u:object_r:admin_home_t:s0 anaconda-ks.cfg
drwxrwxrwx. root root unconfined_u:object_r:admin_home_t:s0 backup
セキュリティコンテキストを理解する方法:unconfined_u:object_r:admin_home_t:s0?「man ls」は情報を提供しません。