chmod
Changes the access mode of a file
chmod [options] who operation permission file-list (symbolic)
chmod [options] mode file-list (absolute)
chmod [options] --reference=rfile file-list (referential)
The chmod utility changes the ways in which a file can be accessed by the owner of the file, the group to which the file belongs, and/or all other users. Only the owner of a file or Superuser can change the access mode, or permissions, of a file. You can specify the new access mode absolutely, symbolically, or referentially.
Arguments
Arguments specify which files are to have their modes changed in what ways.
Symbolic
The chmod utility changes the access permission for the class of user specified by who. The class of user is designated by one ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access