Line | |
---|
1 | .TH CHOWN 8
|
---|
2 | .SH NAME
|
---|
3 | chown \- change owner
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBchown [\fB\-R\fR] \fIowner\fR[:\fIgroup\fR] \fIfile\fR ...\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-R" "Change directory hierarchies"
|
---|
19 | .SH EXAMPLES
|
---|
20 | .EX "chown ast file1 file2" "Make \fIast\fR the owner of the files"
|
---|
21 | .EX "chown \-R ast:other dir" "Change the owner and group of all files in dir"
|
---|
22 | .SH DESCRIPTION
|
---|
23 | .PP
|
---|
24 | The owner field (and optionally group field) of the named files is changed
|
---|
25 | to
|
---|
26 | .I owner
|
---|
27 | (i.e., login name specified) and
|
---|
28 | .I group .
|
---|
29 | Alternatively, a decimal uid(gid) may be specified instead of a user name.
|
---|
30 | Only the superuser may execute this command.
|
---|
31 | .SH "SEE ALSO"
|
---|
32 | .BR chgrp (1),
|
---|
33 | .BR chmod (1),
|
---|
34 | .BR ls (1),
|
---|
35 | .BR chown (2).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.