I have created a dummy file just to test out group permissions.
touch /path/test.txt chown user1:txtwriter /path/test.txt chmod 664 /path/test.txt && ls -la
-rw-rw-r-- 1 user1 txtwriter 0 Mar 23 14:59 test.txt
user2 which is added to
[user2@localhost (/path)]: echo blah > test.txt -bash: test.txt: Permission denied
How can I fix the permissions so all of the users added to the group can modify the file ?