The group tag has no wiki summary.
8
votes
3answers
6k views
Make all new files in a directory accessible to a group
Suppose I have two users A and B and a group G and a folder foo, both users are members of G (using linux and ext3).
If I save as user A a file under foo, the permissions are: -rw-r--r-- A A. ...
8
votes
2answers
2k views
How to apply changes of newly added user groups without needing to reboot?
Assume I'm logged in with user takpar:
takpar@skyspace:/$
As root, I've added takpar as a member of group webdev using:
# usermod -a -G webdev takpar
But it seems it has not been applied. because ...
4
votes
2answers
3k views
How to add write permissions for a group?
I changed permissions of a file (chmod g+w testfile) and running ls -l testfile gives:
-rwxrwxr-x 1 user1 user1 0 2011-01-24 20:36 testfile
I then added a user to that group ("/etc/group" has ...
48
votes
5answers
9k views
Where did the “wheel” group get its name?
The wheel group on *nix computers typically refers to the group with some sort of root-like access. I've heard that on some *nixes it's the group of users with the right to run su, but on Linux that ...
8
votes
2answers
4k views
Why is Debian not creating the 'wheel' group by default?
It appears to be Unix tradition that a wheel group is created automatically, but Debian (and children, naturally) doesn't do so. Is there a rationale somewhere? Where else have you seen this tradition ...
2
votes
3answers
452 views
What does it mean to be in group 0?
Several users in a system I inherited have their group set to 0 in /etc/passwd. What does that mean? Do they essentially get full root privileges?
The system is running CentOS 5, and the users ...
1
vote
2answers
598 views
newgrp and groups assigned via pam_group.so
For convenience reasons I tend to assign special group memberships like floppy, audio, plugdev, video etc. via /etc/security/group.conf (pam_group.so) mechanism instead of adding all users to this ...
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
...
6
votes
2answers
2k views
I can't delete a file that I have write permissions for as a group member
$ touch testfile
$ chmod g+w testfile
$ sudo adduser user2 user1
$ stat -c'%a %A' testfile
664 -rw-rw-r--
$ su user2
Password:
$ groups
user2 user1
$ rm testfile
rm: cannot remove `testfile': ...
5
votes
5answers
172 views
Changing Unix group for files
I have a file that a colleague and I are editing together, on a Unix system. We are using Unix group permissions to edit it. We have one Unix group that we are both members of. Whenever I save the ...