Section: SELinux Command Line documentation (8) Updated: 21 April 2005 Local index
matchpathcon - get the default SELinux security context for the specified path from the file contexts configuration.
matchpathcon [-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 ...)
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.
Do not use translations.
Use alternate file_context file
Use prefix to speed translations
Verify file context on disk matches defaults
This manual page was written by Dan Walsh <email@example.com>.
- SEE ALSO
This document was created by
using the manual pages.
Time: 22:01:58 GMT, April 16, 2011