chmod is the command and system call which may change the access permissions to file system objects (files and directories).

Examples

edit
  • chmod 777: allows everyone to do everything on the file.
  • chmod 000: forbids to anyone to do anything on the file.