summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-19 00:16:09 +0000
committerMiles Bader <miles@gnu.org>1996-01-19 00:16:09 +0000
commitfe30a6c7b5a460512a3afeff2619ab34cab1ba4c (patch)
tree2095a88dc85b44938bc1e4d43d53ad02ab6c4900 /libfshelp
parent4062898861520a81c550045951910b627f6753ce (diff)
(fshelp_exec_reauth): Don't setgid the uids.
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/exec-reauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfshelp/exec-reauth.c b/libfshelp/exec-reauth.c
index 6ac38d5e..bbf8b618 100644
--- a/libfshelp/exec-reauth.c
+++ b/libfshelp/exec-reauth.c
@@ -77,7 +77,7 @@ fshelp_exec_reauth (int suid, uid_t uid, int sgid, gid_t gid,
if (suid)
err = idvec_setid (eff_uids, avail_uids, uid, &_secure);
if (sgid && !err)
- err = idvec_setid (eff_uids, avail_uids, gid, &_secure);
+ err = idvec_setid (eff_gids, avail_gids, gid, &_secure);
if (err)
goto abandon_suid;