Skip to content
Commit 6286cca2 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

support: Don't fail on fchown when spawning sgid processes



In some cases (e.g. when podman creates user containers), the only other
group assigned to the executing user is nobody and fchown fails with it
because the group is not mapped.  Do not fail the test in this case,
instead exit as unsupported.

Reported-by: default avatarFrédéric Bérat <fberat@redhat.com>
Tested-by: default avatarFrédéric Bérat <fberat@redhat.com>
Signed-off-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 5f828ff8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment