Unix group
A named set of users with its own GID, used to grant several people or services the same access to files.
In more detail
Every file has one owning group, and the group permission bits apply to members of that group. Putting shared data in a project group is safer than making it world writable, and gives one place to add or remove access. Groups are listed in /etc/group.
Example
The course record path=/srv/p group=writers members=alice,bob describes a directory shared through a group.Related terms
- primary group — The group named in a user's account record, which new files the user creates belong to by default.
- supplementary group — An extra group a user belongs to in addition to the primary group, granting access to that group's files.
- UID and GID — The numbers Linux uses to identify a user (UID) and a group (GID); root is UID 0.
- file mode — The set of permission bits stored with each file that says what the owner, the group and everyone else may do with it.
- world writable — A permission setting that lets every user on the system modify a file or add and remove entries in a directory.
Taught in
- Groups, And How Shared Access Is Granted — Linux Fundamentals & Systems Administration
- Reading And Setting A File Mode — Linux Fundamentals & Systems Administration