I want to read the capabilities of a file in linux.
I want answer something like this with complete details...
/path/to/file: uid:0 gid:2000 mode:100750 capability:40 selinux:u:object_r:runas_exec:s0
0x40 = 64 decimal
I tried ls -l
, getfattr
, xattr
but nothing worked...
After applying the selinux attribute values, how can i read it?
Please help