Questions tagged [group]
All about Unix groups and access control.
629 questions
0 votes
1 answer
29 views
Why is the audio group missing from www-data under nginx/php-fpm?
TL;DR I am trying to make aplay play a wav file. This requires the current user to be in the audio group. It works fine when I invoke it from a logged in user, even when I su -u www-data but the nginx/...
0 votes
1 answer
146 views
Why can't I create a user with primary GID 100?
In /etc/group there is a group users with numerical group ID 100. When I install RHEL 7,8, or 9 it does not allow me to create the initial user with a primary group ID of 100. The GUI always snaps ...
2 votes
2 answers
220 views
Possible to apply sticky bit effects to a group rather than user?
I've been reading up on the "sticky bit" and it's almost what i want… but not quite. Background I'm managing a small JupyterHub instance with three courses and an instructor for each course. ...
1 vote
1 answer
38 views
Allow all users to trigger a data sync to shared directory (groups vs dummy user?)
I have an Ubuntu server with ~6-7 users. We all use some software that requires some shared files and folders to be regularly updated. Let's call that shared directory /opt/science/online-data ...
1 vote
1 answer
199 views
Why does /etc/group file not use user IDs?
Looking at the Linux group file I see that it lists group members by name and not by ID. Other files which need to identify users (e.g. shadow file) use the id. My question is how or why did group end ...
4 votes
1 answer
527 views
What keeps modifying my /etc/group?
I am trying to add my user to several groups. I used sudo usermod -G group1,group2 to add my user to the supplemental groups I had created myself. My username shows up in /etc/group then. However ...
1 vote
0 answers
78 views
How to set permission so that `du` can be run as some user on external drive directories that are owned by multiple other users?
I am trying to use the du command as one user from inside a docker container (Telegraf) to get the disk usage of various directories on an NFS-mounted external drive. My set up looks like this: Both ...
0 votes
1 answer
99 views
usermod and groupmod inconsistency for removing multiple users/groups
I don't understand why usermod has a -r option that can be used in combination with -G to remove groups that the user belongs to, but groupmod doesn't have an option to remove multiple users from a ...