ls -l analyst.txt -rwxrw-r-- sales staff 1028 May 28 15:50 analyst.txt
- Read only
- Read, write
- Full access
- Read, write, execute
Explanation: The file permissions are always displayed in the User, Group, and Other order. In the example displayed, the file has the following permissions:
The dash (-) means that this is a file. For directories, the first dash would be replaced with a “d”.
The first set of characters is for user permission (rwx). The user, sales, who owns the file can read, write, and execute the file.
The second set of characters is for group permissions (rw-). The group, staff, who owns the file can read and write to the file.
The third set of characters is for any other user or group permissions (r–).
Any other user or group on the computer can only read the file.
More Questions: CCNA Cyber Ops (v1.1) – Chapter 3 Exam Answers