1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH CHCON "1" "April 2010" "GNU coreutils 8.5" "User Commands"
4 chcon \- change file security context
7 [\fIOPTION\fR]... \fICONTEXT FILE\fR...
10 [\fIOPTION\fR]... [\fI-u USER\fR] [\fI-r ROLE\fR] [\fI-l RANGE\fR] [\fI-t TYPE\fR] \fIFILE\fR...
13 [\fIOPTION\fR]... \fI--reference=RFILE FILE\fR...
15 .\" Add any additional description here
17 Change the security context of each FILE to CONTEXT.
18 With \fB\-\-reference\fR, change the security context of each FILE to that of RFILE.
20 \fB\-h\fR, \fB\-\-no\-dereference\fR
21 affect symbolic links instead of any referenced file
23 \fB\-\-reference\fR=\fIRFILE\fR
24 use RFILE's security context rather than specifying
27 \fB\-R\fR, \fB\-\-recursive\fR
28 operate on files and directories recursively
30 \fB\-v\fR, \fB\-\-verbose\fR
31 output a diagnostic for every file processed
33 \fB\-u\fR, \fB\-\-user\fR=\fIUSER\fR
34 set user USER in the target security context
36 \fB\-r\fR, \fB\-\-role\fR=\fIROLE\fR
37 set role ROLE in the target security context
39 \fB\-t\fR, \fB\-\-type\fR=\fITYPE\fR
40 set type TYPE in the target security context
42 \fB\-l\fR, \fB\-\-range\fR=\fIRANGE\fR
43 set range RANGE in the target security context
45 The following options modify how a hierarchy is traversed when the \fB\-R\fR
46 option is also specified. If more than one is specified, only the final
50 if a command line argument is a symbolic link
51 to a directory, traverse it
54 traverse every symbolic link to a directory
58 do not traverse any symbolic links (default)
61 display this help and exit
64 output version information and exit
66 Written by Russell Coker and Jim Meyering.
68 Report chcon bugs to bug\-coreutils@gnu.org
70 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
72 General help using GNU software: <http://www.gnu.org/gethelp/>
74 Report chcon translation bugs to <http://translationproject.org/team/>
76 Copyright \(co 2010 Free Software Foundation, Inc.
77 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
79 This is free software: you are free to change and redistribute it.
80 There is NO WARRANTY, to the extent permitted by law.
82 The full documentation for
84 is maintained as a Texinfo manual. If the
88 programs are properly installed at your site, the command
90 .B info coreutils \(aqchcon invocation\(aq
92 should give you access to the complete manual.