In Unix, what is a group?
In Unix, a group is a logical collection of users on a system, the primary use of which is to assign "group ownership" of files and directories. As a result, certain groups of users on a system can all have the same access rights to the designated files and directories. Each group is independent of other groups and there is no specific relationship between groups. For a list of the groups to which you belong, at the Unix prompt, enter:
groupsTo change the group ownership of a file, use the chgrp command.
Typically, you can only change the file's group to a group to which
you belong. For more information, read the chgrp man
page by entering:
At Indiana University, to get support for personal or departmental Linux or Unix systems, see At IU, how do I get support for Linux or Unix?
Also see:
- In Unix, how do I change the permissions for a file?
- In Unix, how do I set the default protection to newly created directories and files?
- In Unix, how do I find a user's UID or GID?
Last modified on August 22, 2008.






