Author | Jamozed <[email protected]> |
Date | 2020-11-16 23:41:48 |
Commit | 4e9bf25e5b4d8abeb8bf1aabb1209060a0363161 |
Parent | 16eb0a698aabc336fb2e628c8ea3a6e95b7dd085 |
chmod: Add chmod manpage
Diffstat
A | man/chmod.1 | | | 43 | +++++++++++++++++++++++++++++++++++++++++++ |
1 files changed, 43 insertions, 0 deletions
diff --git a/man/chmod.1 b/man/chmod.1 new file mode 100644 index 0000000..fe36fc1 --- /dev/null +++ b/man/chmod.1 @@ -0,0 +1,43 @@ +.TH CHMOD 1 2020-11-17 "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 +All rights reserved. +OMKOV Permissive Licence (https://www.omkov.net/OLPE) +.fi