debian man page for matchpathcon

Query: matchpathcon

OS: debian

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

matchpathcon(8) 					SELinux Command Line documentation					   matchpathcon(8)

NAME
matchpathcon - get the default SELinux security context for the specified path from the file contexts configuration.
SYNOPSIS
matchpathcon [-V] [-N] [-n] [-f file_contexts_file ] [-p prefix ] filepath...
DESCRIPTION
matchpathcon 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
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), matchpathcon(3), dwalsh@redhat.com 21 April 2005 matchpathcon(8)
Related Man Pages
matchpathcon(3) - debian
matchpathcon_init(3) - debian
matchpathcon(8) - debian
matchpathcon(3) - centos
matchpathcon_index(3) - centos
Similar Topics in the Unix Linux Community
Length of a Unix filepath max length
RedHat: Important: kernel security and bug fix update
String Operation
Get the file path of a file
Freeze system