Tagged Questions
0
votes
1answer
20 views
Which tasks/commands can't be executed with user gid=0 but not uid=0 on Linux [duplicate]
In a Linux server I will have an user with gid=0 but it's uid won't be 0. As there are many commands with root:root and execute permissions for group I know there will be a lot of administrative task ...
3
votes
2answers
62 views
How to run script with the privileges expected of the script's general “intended user”?
During the development of a script, some bugs remain "latent" until the script is run by a different user. (For example, the script may access a file that only the person developing the script has ...
0
votes
1answer
80 views
Allow all group members to create directories and files
There are 2 users
sftp_user
apache
Both users belong to the updaters group as well as other groups.
New directories and files are created in the
/updates/ directory.
drwxrwsr-x 8 sftp updaters ...
6
votes
2answers
3k views
GID, current, primary, supplementary, effective and real group IDs?
The following links discuss these concepts in different contexts. I have read their definitions, but I still can't tell how they are related, or if some of them are just the same.
Current group ID
...