rust-chmod(1)

manual page for chmod 9.1

Section 1 rust-coreutils bookworm source

Description

CHMOD

NAME

chmod - manual page for chmod 9.1

SYNOPSIS

chmod [OPTION]... MODE[,MODE]... FILE...
chmod
[OPTION]... OCTAL-MODE FILE...
chmod
[OPTION]... --reference=RFILE FILE...

DESCRIPTION

Change the mode of each FILE to MODE. With --reference, change the mode of each FILE to that of RFILE.
-c
, --changes

like verbose but report only when a change is made

-f, --silent, --quiet

suppress most error messages

-v, --verbose

output a diagnostic for every file processed

--no-preserve-root

do not treat ’/’ specially (the default)

--preserve-root

fail to operate recursively on ’/’

--reference=RFILE

use RFILE’s mode instead of MODE values

-R, --recursive

change files and directories recursively

--help

display this help and exit

--version

output version information and exit

Each MODE is of the form ’[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+’.

GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Report any translation bugs to <https://translationproject.org/team/> Full documentation <https://www.gnu.org/software/coreutils/chmod> or available locally via: info ’(coreutils) chmod invocation’

AUTHOR

Written by David MacKenzie and Jim Meyering.

COPYRIGHT

Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.