ACL ACL File System & OS Permissions 1 — Questions and Answers
Question 1: In POSIX-based systems, which command displays the Access Control List entries for a file?
- chmod
- getfacl (Correct answer)
- chown
- ls -l
Correct answer: getfacl
The `getfacl` command displays the ACL entries of files on POSIX-compliant systems.
Question 2: What does NTFS stand for in the context of Windows file system security?
- Network Transfer File System
- New Technology File System (Correct answer)
- Native Text File Standard
- Network Time File Server
Correct answer: New Technology File System
NTFS (New Technology File System) is Microsoft's proprietary file system that supports fine-grained ACL permissions.
Question 3: In Windows NTFS, which permission level grants read, write, and delete rights but excludes the ability to change permissions or take ownership?
- Full Control
- Modify (Correct answer)
- Write
- Read & Execute
Correct answer: Modify
The Modify permission allows reading, writing, and deleting files but does not include rights to change permissions or take ownership.
Question 4: Which Linux command sets an ACL entry granting user 'john' read and write access to a file?
- setfacl -m u:john:rw file.txt (Correct answer)
- chmod u+rw john file.txt
- chown john:rw file.txt
- acl -set john:rw file.txt
Correct answer: setfacl -m u:john:rw file.txt
The `setfacl -m u:john:rw file.txt` command modifies the ACL to grant user john read and write permissions on the specified file.
Question 5: What is the 'mask' entry in a POSIX ACL?
- A default permission applied to all new files
- The maximum effective permissions for named users, groups, and other ACL entries (Correct answer)
- A permissions filter applied only to the file owner
- An inherited permission from the parent directory
Correct answer: The maximum effective permissions for named users, groups, and other ACL entries
The mask entry defines the upper limit of effective permissions that can be granted to named users, named groups, and the owning group in a POSIX ACL.
Question 6: Which Windows interface provides a GUI to manage NTFS file and folder permissions?
- Task Manager
- Registry Editor
- File Explorer Properties > Security tab (Correct answer)
- Device Manager
Correct answer: File Explorer Properties > Security tab
The Security tab in a file or folder's Properties dialog in Windows File Explorer provides a graphical interface for managing NTFS ACL permissions.
In POSIX-based systems, which command displays the Access Control List entries for a file?