- Three types of permissions on files, each denoted by a letter
- A permission represents an action that can be done on the file:
Permission | Letter | Description |
---|---|---|
Read | r | Permission to read the data stored in the file |
Write | w | Permission to write new data to the file, to truncatethe file, or to overwrite existing data |
Execute | x | Permission to attempt to execute the contents of the file as a program |
- Occasionally referred to as 'permission bits'
- Note that for scripts, you need both execute permission and read permission
- The script interpreter (which runs with your permissions) needs to be able to read the script from the file