An Access Control List (ACL) is a list that tells a computer system who can access certain files or resources and what actions they can perform, like reading or writing.
Click to reveal answer
intermediate
How does an ACL differ from traditional file permissions?
Traditional file permissions usually allow access based on user, group, or others with fixed rights. ACLs provide more detailed control by specifying permissions for multiple users or groups individually.
Click to reveal answer
beginner
Name two common types of permissions that can be set in an ACL.
Two common permissions are 'read' (view the content) and 'write' (modify the content). Others include 'execute' (run a file) and 'delete'.
Click to reveal answer
beginner
Why are ACLs important in multi-user operating systems?
ACLs help protect files and resources by controlling exactly who can do what, preventing unauthorized access and keeping data safe when many users share the system.
Click to reveal answer
beginner
Can ACLs be used to allow access to a specific user while denying others?
Yes, ACLs can specify permissions for individual users, allowing some users access while denying others, providing flexible and precise control.
Click to reveal answer
What does an Access Control List (ACL) primarily control?
AWho can access a resource and what actions they can perform
BThe speed of the computer processor
CThe color scheme of the user interface
DThe amount of memory used by an application
✗ Incorrect
ACLs define which users or groups can access resources and what they are allowed to do.
Which of the following is NOT a typical permission in an ACL?
APrint
BWrite
CExecute
DRead
✗ Incorrect
Print is not usually a permission controlled by ACLs; common permissions include read, write, and execute.
How do ACLs improve security compared to basic file permissions?
ABy encrypting files automatically
BBy speeding up file access
CBy deleting unused files
DBy allowing detailed permissions for multiple users and groups
✗ Incorrect
ACLs allow setting specific permissions for many users or groups, offering more precise control.
In a multi-user system, why is ACL important?
ATo speed up the internet connection
BTo control who can access files and what they can do
CTo improve the graphics display
DTo increase the number of users
✗ Incorrect
ACLs protect resources by managing user access and permissions.
Can ACLs specify permissions for individual users?
ANo, ACLs only work for groups
BNo, ACLs only control network access
CYes, ACLs can assign permissions to specific users
DYes, but only for administrators
✗ Incorrect
ACLs allow permissions to be set for individual users as well as groups.
Explain what an Access Control List (ACL) is and why it is useful in operating systems.
Think about how computers decide who can open or change files.
You got /4 concepts.
Describe the difference between traditional file permissions and ACLs.
Consider how flexible the control is in each method.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of an Access Control List (ACL) in operating systems?
easy
A. To monitor network traffic
B. To store the content of a file securely
C. To manage system hardware devices
D. To specify which users or groups have permissions on a file or resource
Solution
Step 1: Understand what ACLs control
ACLs list permissions for users or groups on files or resources.
Step 2: Identify the main function
The main function is to specify who can do what on a resource.
Final Answer:
To specify which users or groups have permissions on a file or resource -> Option D
Quick Check:
ACL = user/group permissions [OK]
Hint: ACLs control user permissions on files/resources [OK]
Common Mistakes:
Confusing ACL with file content storage
Thinking ACL manages hardware
Assuming ACL monitors network
2. Which of the following is the correct way to represent an ACL entry for a user named 'alice' with read and write permissions?
easy
A. user:alice:rwx
B. user:alice:rw
C. group:alice:rw
D. user:alice:r
Solution
Step 1: Identify the correct ACL entry format
ACL entries usually specify type (user/group), name, and permissions.
Step 2: Match permissions to read and write only
Read and write permissions are 'rw', execute is 'x'. So 'rw' matches read and write.
Final Answer:
user:alice:rw -> Option B
Quick Check:
user + alice + rw = correct ACL entry [OK]
Hint: User entries start with 'user:' and list exact permissions [OK]
Common Mistakes:
Using 'group' instead of 'user' for a user entry
Adding execute permission when not needed
Listing only read permission when write is required
3. Given the following ACL entries on a file: user:alice:rwx group:staff:r-x other::r-- What permissions does a user named 'bob' who belongs to the 'staff' group have?
medium
A. Read and execute only
B. Read, write, and execute
C. Read only
D. No permissions
Solution
Step 1: Identify bob's group membership
Bob belongs to the 'staff' group, so group permissions apply.
Step 2: Check group permissions in ACL
Group 'staff' has 'r-x' which means read and execute, no write.
Final Answer:
Read and execute only -> Option A
Quick Check:
Group 'staff' = r-x = read + execute [OK]
Hint: User's group permissions apply if user not listed explicitly [OK]
Common Mistakes:
Assuming user permissions apply to bob
Including write permission incorrectly
Using 'other' permissions instead of group
4. A system administrator sets an ACL entry as user:bob:r but Bob reports he cannot write to the file. What is the most likely cause?
medium
A. The file is owned by another user
B. Bob is not listed in the ACL
C. The ACL entry only grants read permission, not write
D. The ACL entry syntax is incorrect
Solution
Step 1: Analyze the ACL entry permissions
The entry 'user:bob:r' grants only read permission, no write.
Step 2: Understand why Bob cannot write
Without write permission, Bob cannot modify the file.
Final Answer:
The ACL entry only grants read permission, not write -> Option C
Quick Check:
Read-only permission blocks writing [OK]
Hint: Check if write permission 'w' is included in ACL entry [OK]
5. You want to allow a group named 'developers' to have read and write access to a file, but no execute permission. Which ACL entry correctly achieves this without affecting other permissions?
hard
A. group:developers:rw-
B. group:developers:rwx
C. user:developers:rw-
D. group:developers:r--
Solution
Step 1: Identify the correct ACL entry type
Since 'developers' is a group, the entry must start with 'group:developers'.
Step 2: Set permissions to read and write only
Read and write permissions are 'rw-', where '-' means no execute.
Step 3: Confirm no execute permission is given
group:developers:rw- uses 'rw-' which excludes execute permission.
Final Answer:
group:developers:rw- -> Option A
Quick Check:
Group + rw- = read/write, no execute [OK]
Hint: Use 'group:name:rw-' for read/write without execute [OK]
Common Mistakes:
Using 'user' instead of 'group' for group permissions
Including execute permission by mistake
Setting only read permission when write is needed
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.