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.

Differences

-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.