I have a linux system. And multiple users are logging into it via ssh.
So I have created multiple user accounts.
The problem I have is that some of those users need to cooperate on a given task, and in that case I would like to give a specific list of users, unlimited access to just that folder. That way they can work together in that given folder, but maintain their own setup in their home folders.
I have tried the following:
1. creating a group with the groupadd option.
2. Adding that group to all those users.
3. Changing the group of the folder they are to cooperate in to the given group.
4. Changing the rights of that folder from 755 to 775, so the given group gets write permissions.
But it doesn't work, only the owner of the folder ever gets the write permission.
How do I do achieve this?
(a very natural next question is: Make all new files in a directory accessible to a group)