Do the following:

  1. Add group:

    sudo addgroup staff
    
  2. Add user to group:

    sudo adduser mike staff
    
  3. Give group access to folder:

    sudo chgrp -R staff /home/Clients
    
  4. Set permissions on folder:

    sudo chmod -R 775 /home/Clients
    
  5. Make all folders subsequently created inside /home/Clients to be owned by group staff:

    sudo setfacl -dR -m g:staff:rwx /home/Clients
    
Answer from George Udosen on askubuntu.com
🌐
Red Hat
redhat.com › en › blog › linux-groups
How to create, delete, and modify groups in Linux
November 21, 2025 - To add a group in Linux, use the groupadd command: ... When a group is created, a unique group ID gets assigned to that group.
People also ask

How do I delete a group in Linux?
Use the `groupdel GROUPNAME` command. See how to delete a group in Linux for the full guide.
🌐
linuxize.com
linuxize.com › home › linux commands › how to create groups in linux: groupadd command
How to Create Groups in Linux: groupadd Command | Linuxize
How do I add a user to a group after creating it?
Use the `usermod -aG GROUPNAME USERNAME` command. The `-a` flag appends the group without removing existing memberships. See how to add a user to a group for more details.
🌐
linuxize.com
linuxize.com › home › linux commands › how to create groups in linux: groupadd command
How to Create Groups in Linux: groupadd Command | Linuxize
What is the difference between a system group and a regular group?
System groups use a separate GID range defined in `/etc/login.defs` and are typically used for services and system processes. Regular groups are used for user account organization. There is no functional difference in how permissions work.
🌐
linuxize.com
linuxize.com › home › linux commands › how to create groups in linux: groupadd command
How to Create Groups in Linux: groupadd Command | Linuxize
🌐
ArchWiki
wiki.archlinux.org › title › Users_and_groups
Users and groups - ArchWiki
May 3, 2026 - Broken down, this means: user archie, ... primary group is 1003. Archie is their full name and there is a comment associated to their account; their home directory is /home/archie and they are using Bash. The pwck command can be used to verify the integrity of the user database. It can sort the user list by UID at the same time, which can be helpful for comparison: ... Warning Arch Linux defaults of the files are created as pacnew ...
🌐
Linuxize
linuxize.com › home › linux commands › how to create groups in linux: groupadd command
How to Create Groups in Linux: groupadd Command | Linuxize
February 26, 2026 - This guide explains how to create groups in Linux using the groupadd command, including how to set a custom GID, create system groups, and manage group options.
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › groupadd-command-in-linux-with-examples
groupadd Command in Linux - GeeksforGeeks
May 18, 2026 - Create a group named "developers". ... Every new group created is registered in the file "/etc/group".
🌐
Hivelocity
hivelocity.net › home › knowledge base articles › how to create a group in linux
How to Create a Group in Linux - Hivelocity Hosting
December 5, 2023 - The command will look like: groupadd <NewGroup> So, if you wanted to add a group called NewGroup1, you would use the command: groupadd NewGroup1 *Note: if the new group you are attempting to create already exists, Linux will return an error ...
Find elsewhere
🌐
eUKhost
eukhost.com › home › how to create a group in linux
Create Group in Linux (groupadd Command & Add Group Guide)
December 8, 2023 - Create and add groups in Linux using the groupadd command. Step-by-step guide with examples to manage user groups easily.
🌐
How-To Geek
howtogeek.com › home › linux › add a user to a group (or second group) on linux
Add a User to a Group (or Second Group) on Linux
September 18, 2025 - If you want to create a new group on your system, use the following groupadd command, replacing new_group with the name of the group you want to create. You'll need to use sudo with this command as well (or, on Linux distributions that don't ...
🌐
4sysops
4sysops.com › home › articles › create and remove group in linux, add user, switch primary group
Create and remove group in Linux, add user, switch primary group – 4sysops
July 3, 2024 - In Linux groups are essential for managing file permissions and user access to system resources. This guide covers how to create a group in Linux using the groupadd command and delete a group with groupdel. You will also learn how to add users to groups using the usermod command and remove them with gpasswd.
Top answer
1 of 5
41

The usermod command will allow you to change a user's primary group, supplementary group or a number of other attributes. The -g switch controls the primary group.

For your other questions...

  1. If you specify a group, groupname, that does not exist during the useradd stage, you will receive an error - useradd: unknown group groupname

  2. The groupadd command creates new groups.

  3. The group will remain if you remove all users contained within. You don't necessarily have to remove the empty group.

  4. Create the hilbert group via groupadd hilbert. Then move David's primary group using usermod -g hilbert hilbert. (Please note that the first hilbert is the group name and the second hilbert is the username. This is important in cases, where you are moving a user to a group with a different name)

You may be complicating things a bit here, though. In many Linux distributions, a simple useradd hilbert will create the user hilbert and a group of the same name as the primary. I would add supplementary groups specified together using the -G switch.

2 of 5
16

You need to read the man usermod which explains what happens with the various options:

usermod -g hilder hilder

will replace your login group from 'faculty' to 'hilder', as long as the group 'hilder' exists. If it doesn't exist then you first need to create it with groupadd.

When you use the -G option you should also use the -a option to append new groups to the current list of supplementary groups that user 'hilder' belongs. Without the -a option you will replace current supplementary groups with a new group set. Therefore use this cautiously.

🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux › 6 › html › deployment_guide › s2-groups-cl-tools
3.5. Managing Groups via Command-Line Tools | Deployment Guide | Red Hat Enterprise Linux | 6 | Red Hat Documentation
To add a new group to the system with default settings, the groupadd command is run at the shell prompt as root. ... Example 3.18. Creating a Group with Default Settings
🌐
Linode
linode.com › docs › guides › linux-users-and-groups
Linux Users and Groups | Linode Docs
January 7, 2021 - The commands for creating and deleting directories are covered, as well. A primary group is the default group that a user account belongs to. Every user on Linux belongs to a primary group. A user’s primary group is usually the group that is recorded in your Linux system’s /etc/passwd file.
🌐
Group Publishing
group.com
Group Publishing | Sunday School Curriculum & Christian Books & Resources
R.E.A.L. is the filter we use to create all our resources and experiences. It’s both a learning approach and a ministry approach.
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-newbie-8 › creating-groups-and-adding-users-to-that-group-542270
Creating groups and adding users to that group
I feel like this a really easy problem, but something is escaping me on this. I have a samba share(slack 11 box) and the folder i want to use is /smbsh
🌐
Oracle
docs.oracle.com › en › learn › users_groups_linux8
Create users and groups on Oracle Linux
May 2, 2022 - The following tutorial provides step-by-step procedures to perform user and group administration on Oracle Linux. You will create users and groups, implement user private groups, and grant user elevated privileges.
🌐
Medium
medium.com › @cristendmack › creating-groups-users-permissions-with-linux-19357faa24ca
Creating Groups, Users & Permissions with Linux | by Cristen Mack | Medium
November 10, 2023 - Create 3 Groups in Linux: Developers, Operations, Data Analysts, allowing each group to have view and access to their respective directory.
🌐
IBM
ibm.com › docs › en › ibm-mq › 9.3.x
Creating and managing groups on Linux
On Linux, providing you are not using NIS or NIS+, use the /etc/group file to work with groups.
🌐
Cisco
ipcisco.com › home › linux groups
Linux Groups | groupadd | groupdel | Adding ⋆ IPCisco
September 25, 2022 - With this command, we will add a new group to Linux system. We can use this command with the name of the group to create a group.