minix/man/man8/chown.8

42 lines
762 B
Groff
Raw Normal View History

2005-05-02 15:01:42 +02:00
.TH CHOWN 8
.SH NAME
chown \- change owner
.SH SYNOPSIS
\fBchown [\fB\-R\fR] \fIowner\fR[:\fIgroup\fR] \fIfile\fR ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
2012-03-31 23:44:29 +02:00
.TP 5
.B \-R
# Change directory hierarchies
2005-05-02 15:01:42 +02:00
.SH EXAMPLES
2012-03-31 23:44:29 +02:00
.TP 20
.B chown ast file1 file2
# Make \fIast\fR the owner of the files
.TP 20
.B chown \-R ast:other dir
# Change the owner and group of all files in dir
2005-05-02 15:01:42 +02:00
.SH DESCRIPTION
.PP
The owner field (and optionally group field) of the named files is changed
to
.I owner
(i.e., login name specified) and
.I group .
Alternatively, a decimal uid(gid) may be specified instead of a user name.
Only the superuser may execute this command.
.SH "SEE ALSO"
.BR chgrp (1),
.BR chmod (1),
.BR ls (1),
.BR chown (2).