chmod
To change the permissions of a file or directory, we can use the chmod
command (change mode).
To use chmod
to alter permissions, we need to tell it:
- Who we are changing permission for?
- What change are we making? Adding? Removing?
- Which permissions are we setting?