Question 1
Topic: Linux Fundamentals
Skill tested: Selects file permissions that grant access to a group without exposing a file to others.
A Linux host collects diagnostic bundles containing customer identifiers. The collection process runs under the account `collector`, and a small on-call group must be able to read the completed bundle. Other local users must not have access. The file is created as `/var/tmp/incident.tar`; its owner is `collector` and its group is `ops`. Assume the group membership is already correct and the file is not accessed through a directory that grants broader permissions. Which permission setting best meets the requirement while preserving owner write access?
Mode 0640 grants the owner read and write access, the group read access, and no permissions to others. This lets `collector` update the bundle while members of `ops` can inspect it without exposing it to unrelated local accounts. Mode 0644 allows all users to read it; 0600 prevents the group from reading it; and 0664 grants other users read access as well as granting the group write access.