Skip to content
Snippets Groups Projects
Commit 160738cd authored by Morris Jette's avatar Morris Jette
Browse files

Merge branch 'slurm-14.11' into slurm-15.08

parents 6ac9f166 803a0b4c
No related branches found
No related tags found
No related merge requests found
......@@ -2003,7 +2003,10 @@ _valid_uid_gid(uid_t uid, gid_t *gid, char **user_name)
return 1;
}
}
if (*gid != 0) {
if (slurm_find_group_user(result, *gid))
return 1;
}
/* root user may have launched this job for this user, but
* root did not explicitly set the gid. This would set the
* gid to 0. In this case we should set the appropriate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment