OSDN Git Service

GNU_coreutils: Add a directory for a new translation.
[linuxjm/jm.git] / manual / GNU_coreutils / original / man1 / chcon.1
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"
3 .SH NAME
4 chcon \- change file security context
5 .SH SYNOPSIS
6 .B chcon
7 [\fIOPTION\fR]... \fICONTEXT FILE\fR...
8 .br
9 .B chcon
10 [\fIOPTION\fR]... [\fI-u USER\fR] [\fI-r ROLE\fR] [\fI-l RANGE\fR] [\fI-t TYPE\fR] \fIFILE\fR...
11 .br
12 .B chcon
13 [\fIOPTION\fR]... \fI--reference=RFILE FILE\fR...
14 .SH DESCRIPTION
15 .\" Add any additional description here
16 .PP
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.
19 .TP
20 \fB\-h\fR, \fB\-\-no\-dereference\fR
21 affect symbolic links instead of any referenced file
22 .TP
23 \fB\-\-reference\fR=\fIRFILE\fR
24 use RFILE's security context rather than specifying
25 a CONTEXT value
26 .TP
27 \fB\-R\fR, \fB\-\-recursive\fR
28 operate on files and directories recursively
29 .TP
30 \fB\-v\fR, \fB\-\-verbose\fR
31 output a diagnostic for every file processed
32 .TP
33 \fB\-u\fR, \fB\-\-user\fR=\fIUSER\fR
34 set user USER in the target security context
35 .TP
36 \fB\-r\fR, \fB\-\-role\fR=\fIROLE\fR
37 set role ROLE in the target security context
38 .TP
39 \fB\-t\fR, \fB\-\-type\fR=\fITYPE\fR
40 set type TYPE in the target security context
41 .TP
42 \fB\-l\fR, \fB\-\-range\fR=\fIRANGE\fR
43 set range RANGE in the target security context
44 .PP
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
47 one takes effect.
48 .TP
49 \fB\-H\fR
50 if a command line argument is a symbolic link
51 to a directory, traverse it
52 .TP
53 \fB\-L\fR
54 traverse every symbolic link to a directory
55 encountered
56 .TP
57 \fB\-P\fR
58 do not traverse any symbolic links (default)
59 .TP
60 \fB\-\-help\fR
61 display this help and exit
62 .TP
63 \fB\-\-version\fR
64 output version information and exit
65 .SH AUTHOR
66 Written by Russell Coker and Jim Meyering.
67 .SH "REPORTING BUGS"
68 Report chcon bugs to bug\-coreutils@gnu.org
69 .br
70 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
71 .br
72 General help using GNU software: <http://www.gnu.org/gethelp/>
73 .br
74 Report chcon translation bugs to <http://translationproject.org/team/>
75 .SH COPYRIGHT
76 Copyright \(co 2010 Free Software Foundation, Inc.
77 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
78 .br
79 This is free software: you are free to change and redistribute it.
80 There is NO WARRANTY, to the extent permitted by law.
81 .SH "SEE ALSO"
82 The full documentation for
83 .B chcon
84 is maintained as a Texinfo manual.  If the
85 .B info
86 and
87 .B chcon
88 programs are properly installed at your site, the command
89 .IP
90 .B info coreutils \(aqchcon invocation\(aq
91 .PP
92 should give you access to the complete manual.