:man| Alphabetical   Categories   About us 
 
CHCON (1) | General commands | Unix Manual Pages | :man

NAME

chcon - change SELinux security context

CONTENTS

Synopsis
Description

SYNOPSIS

chcon [OPTION]... CONTEXT FILE...
chcon [OPTION]... --reference=RFILE FILE...

DESCRIPTION

Change the security context of each FILE to CONTEXT.

-->
-c, --changes
like verbose but report only when a change is made
-h, --no-dereference
affect symbolic links instead of any referenced file (available only on systems with lchown system call)
-f, --silent, --quiet
suppress most error messages
-l, --range
set range RANGE in the target security context
--reference=RFILE
use RFILE’s context instead of using a CONTEXT value
-R, --recursive
change files and directories recursively
-r, --role set role ROLE in the target security context
-t, --type set type TYPE in the target security context
-u, --user set user USER in the target security context
-v, --verbose
output a diagnostic for every file processed
--help display this help and exit
--version
output version information and exit

"REPORTING BUGS"

Report bugs to <https://bugzilla.redhat.com/bugzilla>.

"SEE ALSO"

 
Created by Blin Media, 2008-2013