Question 250
A controlled command-line practice exercise reports: A team directory is intended for one working group but an administrator changes only the owner name and assumes every other group member automatically gets write access. Which observed result would best verify the correction?
Explanation
Correct Answer
This specifically verifies shared group directory access after ownership change: An approved group member can create a disposable test file while a nonmember remains unable to write in the shared directory. The related engineering correction is: Set the intended owning group and suitable group permissions with authorized filesystem tools after confirming account memberships. Evidence from another workflow would not establish the stated outcome.
Incorrect Answers
The authorized test user can authenticate with the new password while the former credential is rejected according to system policy. “Use passwd or the approved administrative reset workflow to change the appropriate account credential safely” would remedy that alternative situation, but it would not correct the present issue: an approved group member can create a disposable test file while a nonmember remains unable to write in the shared directory.
“Grant the minimum search or execute permission needed to traverse the intended directory and preserve appropriate protections on its files” is the supported response when the intended group can enter the authorized directory and open permitted files while unrelated accounts remain blocked. Here the decisive response is “Set the intended owning group and suitable group permissions with authorized filesystem tools after confirming account memberships”, so that different intervention does not meet the stated requirement.
The filename reports the new account as owner while the original document bytes remain unchanged after the metadata change. “Use an appropriately authorized chown operation to set the intended owner and inspect the result with a long listing” applies to that other condition. The reported evidence is a team directory is intended for one working group but an administrator changes only the owner name and assumes every other group member automatically gets write access; this alternative would address the wrong dependency.