chmod

Name

chmod -- change file access permissions

Synopsis

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

Description

chmod is as specified in the SUS but with differences as listed below.

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

-c, --changes

is like verbose, but reports only when a change is made.

-f, --silent, --quiet

suppresses most error messages.

--reference=RFILE

uses RFILE's mode instead of MODE values.

-v, --verbose

outputs a diagnostic for every file processed.

--version

outputs version information and exits.