I have this problem where I want two users to be able to read/write from the same directory. I have two users, let's say
user2 and a directory named
files. I have a group for these two users named
user1 owns the directory
files. I made
user2 members of
mygroup and gave read/write/execute permissions for groups to my folder. I also changed the group-owner to
$ ls -l drwxrwxr-- 2 user1 mygroup 4096 --- -- --:-- files
I have checked that both users are in this group with
groups <username> and everything seems all fine but I do not have write access to that folder.
I have logged in and out and still
user2 can't create a single textfile in this folder.