matchpathcon
Look up the persistent SELinux security context setting of a path. See also:
semanage fcontext,secon,chcon,restorecon. More information: https://manned.org/matchpathcon.8.
- Look up the persistent security context setting of an absolute path:
matchpathcon /
- Restrict lookup to settings on a specific file type:
matchpathcon -m /
- [V]erify that the persistent and current security context of a path agree:
matchpathcon -V /
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
