Question 240
While preparing a Linux workstation for training, an operator finds: A training machine offers a shared writable temporary directory and one student is able to delete another student's files despite not owning them. What acceptance evidence demonstrates that the requirement is satisfied?
Explanation
Correct Answer
This specifically verifies sticky bit prevents unrelated users deleting shared temp files: Two users can create their own temporary files, but an ordinary unrelated user cannot remove the other's protected entry. The related engineering correction is: Use the appropriate sticky-bit directory permissions for an approved shared temporary directory without making all individual files public. Evidence from another workflow would not establish the stated outcome.
Incorrect Answers
The permitted administrator completes a controlled system configuration change while an ordinary test account remains unable to alter it. “Use the approved administrative procedure under an authorized privileged identity rather than removing broad filesystem protections” would remedy that alternative situation, but it would not correct the present issue: two users can create their own temporary files, but an ordinary unrelated user cannot remove the other's protected entry.
“Set the intended owning group and suitable group permissions with authorized filesystem tools after confirming account memberships” is the supported response when an approved group member can create a disposable test file while a nonmember remains unable to write in the shared directory. Here the decisive response is “Use the appropriate sticky-bit directory permissions for an approved shared temporary directory without making all individual files public”, so that different intervention does not meet the stated requirement.
The intended group can enter the authorized directory and open permitted files while unrelated accounts remain blocked. “Grant the minimum search or execute permission needed to traverse the intended directory and preserve appropriate protections on its files” applies to that other condition. The reported evidence is a training machine offers a shared writable temporary directory and one student is able to delete another student's files despite not owning them; this alternative would address the wrong dependency.