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?
There are file-specific ACLs that override group permissions and prevent modifications
The filesystem for the 'analytics_reports' directory is mounted as read-only
The user has not logged out and back in since being added to the group
There is full disk space, preventing any changes to files
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 do users need to log out and log back in to refresh group memberships in Linux?
Open an interactive chat with Bash
What are group permissions in Linux, and why are they important?
Open an interactive chat with Bash
What are ACLs, and how do they differ from standard permission settings in Linux?