Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linux でファイルの機能を読み取りたい。
私は完全な詳細でこのようなものに答えたい...
/path/to/file: uid:0 gid:2000 mode:100750 capability:40 selinux:u:object_r:runas_exec:s0 0x40 = 64 decimal
を試しましたがls -l、何もうまくいきませんでした...getfattrxattr
ls -l
getfattr
xattr
selinux 属性値を適用した後、どのように読み取ることができますか?
助けてください
-Z オプションを指定して ls を試しましたか。
SE Linux では、多くの一般的なコマンド (ls、cp、mv など) が変更され、SE Linux に関連する情報を表示するオプション (-Z など) が含まれるようになりました。