diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-08-01 21:34:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-08-01 21:34:42 +0200 |
commit | fa8f36ac15f6c3985f053cdd3698655958442f7f (patch) | |
tree | c32e0024e6852127cad9a45daaf8a74e19c739e5 | |
parent | 4c12626c8e3491570b395d68380543e10c98ad33 (diff) |
execute: properly enforce group
https://bugzilla.redhat.com/show_bug.cgi?id=723892
-rw-r--r-- | src/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execute.c b/src/execute.c index f07d018a37..668bf9d0f0 100644 --- a/src/execute.c +++ b/src/execute.c @@ -1193,7 +1193,7 @@ int exec_spawn(ExecCommand *command, } if (apply_permissions) - if (enforce_groups(context, username, uid) < 0) { + if (enforce_groups(context, username, gid) < 0) { r = EXIT_GROUP; goto fail_child; } |