In a shared folder every new file gets the primary group of whoever creates it, and the others cannot edit it.
sudo chmod g+s /srv/shared
ls -ld /srv/shared # drwxrwsr-x
The s in the group column is the setgid bit. New files and folders in that directory get the directory’s group, and new subfolders inherit the bit. The files still need group write, so set umask 002 for the users, or use default ACLs. Existing files keep their old group until you run chgrp -R.
Further reading: chmod manual page
Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it