coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/chmod.1 (43 lines, 949 B) -rw-r--r-- blame download

0123456789101112131415161718192021222324252627282930313233343536373839404142
.TH CHMOD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
.SH NAME
chmod \(em change the file modes
.SH SYNOPSYS
\fBchmod\fR [-R] \fImode\fR \fIfile\fR...
.SH DESCRIPTION
Change the mode of each \fIfile\fR operand as specified by the \fImode\fR
operand.
.SH OPTIONS
The following options are supported:
.TP
.B -R
Recursively change file mode bits.
.TP
.B --help
Display help information.
.TP
.B --version
Display version information.
.SH OPERANDS
The following operands are supported:
.TP
.I mode
An octal or symbolic mode to be applied to each \fIfile\fR operand.
.TP
.I file
A path of a file whose mode will be modified.
.SH EXIT STATUS
The following exit values will be returned:
.TP
\ 0
Successful completion.
.TP
>0
An error occurred.
.SH STANDARDS
This utility is compliant with the IEEE Std 1003.1-2017 (POSIX) specification.
.SH COPYRIGHT
.nf
Copyright (C) 2020, Jakob Wakeling
MIT Licence (https://opensource.org/licenses/MIT)
.fi