To have all newly created files in a directory have the same group owner, execute the command
chmod g+s dirname/
on the directory.
Linux