A systems administrator notices that a user who was recently added as a member of the 'data-analysts' group cannot modify files in the 'analytics_reports' directory. The directory permissions are set to drwxrwx---. The user and group ownerships are 'datamgr' and 'data-analysts' respectively. The administrator has verified that the user is indeed a member of the 'data-analysts' group. What should the administrator investigate as the most likely cause of this issue?
The filesystem for the 'analytics_reports' directory is mounted as read-only
There is full disk space, preventing any changes to files
The user has not logged out and back in since being added to the group
There are file-specific ACLs that override group permissions and prevent modifications
The correct answer is 'The user has not logged out and back in since being added to the group'. In Linux, when a user is added to a new group, the group membership is not applied to the user's current sessions. They need to log out and log back in for the system to recognize their new group memberships. 'Full disk space' is incorrect because disk space issues would not affect permissions, 'Filesystem mounted as read-only' is not the likely cause as that would affect all users and not just one, and 'File-specific ACLs' might seem plausible but the question implies group permission is the problem, not specific file permissions.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why does a user need to log out and back in after being added to a new group?
Open an interactive chat with Bash
What command can check group memberships for a user in Linux?
Open an interactive chat with Bash
How can a user apply their new group membership without logging out?