I have a directory that has
-s- permission settings, if I create files in this folder from user A these files gets permission
rw-rw-r--, and with user B it gets
rw-r--r--. I'm really confused about how exactly files are getting their permission set when they are first created...
To be more focused on what i need to do - the directory has group G which contains both users A and B and I want them both to be able to work on all the files in that same directory, so if both of them would have created files with
rw-rw-r-- they could work on these files (delete them and recreate them or just edit them) without interference.