mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-11 01:01:41 +07:00
execute: properly enforce group
https://bugzilla.redhat.com/show_bug.cgi?id=723892
This commit is contained in:
parent
4c12626c8e
commit
fa8f36ac15
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user