File system permissions
lastmod 2018-08-17created 2016-05-042 edits
Most file systems provide a way to assign access permissions to specific users and user groups. These systems control the ability of users to view or change the contents of the file system.
RWX
- Read
- Permission to read a file. You can only read the file's contents; you cannot modify or delete the file.
- Written as r in letters, 4 in numbers.
- Write
- Permission to write a file. In other words, permission to modify, save, or delete the file.
- Written as w in letters, 2 in numbers.
- Excute
- Permission to execute a file. This applies to executable files: for a file, it is the permission for the file to be executed, and for a directory, it grants permission to enter the directory.
- Written as x in letters, 1 in numbers.