Merge pull request #9 from curationexperts/set_gid

Set both the real and the effective gid