• Post author:
  • Post category:Blog
  • Reading time:2 mins read
  • Post last modified:June 12, 2024

Consider the result of the ls -l command in the Linux output below. What are the file permissions assigned to the sales user for the analyst.txt file?

ls –l analyst.txt
-rwxrw-r– sales staff 1028 May 28 15:50 analyst.txt

  • read, write, execute
  • read, write
  • read only
  • write only
Explanation & Hint:

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 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.

For more Questions and Answers:

Cybersecurity Essentials 3.0 Checkpoint Exam: OS and Endpoint Security Module 7 – 10 Exam Answers Full 100%

CA – CyberOps Associate v1.0 – Modules 3 – 4: Operating System Overview Group Exam Answers Full 100%

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments