Linux file permissions FAQ: Can you share some examples of the Unix/Linux chmod command? (Also written as, "How do I change permissions on Unix files and directories?")
The chmod command name stands for "change mode", and as that name implies, the chmod command is used to change the mode of Unix/Linux files.
I'll start with some simple examples, then add some more details as we go along.