Commit a449b193 authored by Charlie Fenton's avatar Charlie Fenton

Mac Sandbox: attempt to fix bug where Manager reports that admin user is not...

Mac Sandbox: attempt to fix bug where Manager reports that admin user  is not authorized to run BOINC

svn path=/trunk/boinc/; revision=19707
parent 9f4d6a14
......@@ -666,11 +666,10 @@ bool IsUserInGroupBM() {
char *userName, *groupMember;
int i;
grp = getgrgid(boinc_master_gid);
grp = getgrnam(REAL_BOINC_MASTER_NAME);
if (grp) {
rgid = getgid();
if (rgid == boinc_master_gid) {
if (rgid == grp->gr_gid) {
return true; // User's primary group is boinc_master
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment