matchpathconSection: SELinux Command Line documentation (8)
Updated: 21 April 2005
Index Return to Main Contents
NAMEmatchpathcon - 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...
DESCRIPTIONmatchpathcon 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.
OPTIONS-n Do not display path.
-N Do not use translations.
-f file_context_file Use alternate file_context file
-p prefix Use prefix to speed translations
-V Verify file context on disk matches defaults
AUTHORThis manual page was written by Dan Walsh <email@example.com>.
SEE ALSOselinux(8), matchpathcon(3),
This document was created by man2html, using the manual pages.
Time: 05:34:27 GMT, December 24, 2015