MAN page from OpenSuSE selinux-tools-2.0.80-11.13.i586.rpm
Section: SELinux Command Line documentation (8)
Updated: 21 April 2005Index
matchpathcon - get the default SELinux security context for the specified path from the file contexts configuration.
SYNOPSISmatchpathcon [-V] [-N] [-n] [-f file_contexts_file ] [-p prefix ] filepath...
queries the system policy and outputs the default security context associated with the filepath.
Note: Identical paths can have different security contexts, depending on the file type. (regular file, directory, link file, char file ...)
matchpathcon will also take the file type into consideration in determining the default security context if the file exists. If the file does not exist, no file type matching will occur.
Do not display path.
-NDo not use translations.
-f file_context_fileUse alternate file_context file
-p prefixUse prefix to speed translations
-VVerify file context on disk matches defaults
This manual page was written by Dan Walsh <dwalshAATTredhat.com>.
- SEE ALSO
This document was created byman2html,using the manual pages.