execute: properly enforce group
https://bugzilla.redhat.com/show_bug.cgi?id=723892
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user