Implement setting gid for namespaces