codeaprendiz.github.io

DevOps Essentials

View on GitHub

chmod

NAME

chmod – change file modes or Access Control Lists

SYNOPSIS

chmod [-fv] [-R [-H -L -P]] mode file …
chmod [-fv] [-R [-H -L -P]] [-a +a =a] ACE file …
chmod [-fhv] [-R [-H -L -P]] [-E] file …
chmod [-fhv] [-R [-H -L -P]] [-N] file …

EXAMPLES

chmod 644 /home/looker/.ssh/id_rsa.pub