What is a Group on Linux?
On Linux, a group is a way to categorize multiple users in the operating system. Every file and folder on Linux belongs to one user and one group. When a new user is created, a new group with the same name as the user is created. For example, if you create the user john, a group called john is also created. Any files that john creates belong to the john user AND the john group. Groups can be used to share files between users by changing which group the file belongs to without changing which user the file belongs to. Groups have a separate set of RWX file permissions. For example, you can have a file that you can read and write (modify), but the other members of your group can only read (can't modify).
Groups can be manage on Linux Mint via Users and Groups on the start menu. The group of a file or folder can be changed on its file properties dialog or through the terminal with the chgrp terminal command.
- How to Open the File Properties Dialog on Linux Mint
- How to Execute a Terminal Command on Linux Mint
