diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-05 00:16:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 00:16:51 +0200 |
commit | 5c7f28336171f0a5137edd274e45608120d31289 (patch) | |
tree | e4717863dde464450a6ffdb86201ed40d2f8e8b7 /libpod | |
parent | b506f6ebb7e49e054c3b45c481109637cbd6b20f (diff) | |
parent | d82a41687e614d9ac8b2d169dee47fe226835e4c (diff) | |
download | podman-5c7f28336171f0a5137edd274e45608120d31289.tar.gz podman-5c7f28336171f0a5137edd274e45608120d31289.tar.bz2 podman-5c7f28336171f0a5137edd274e45608120d31289.zip |
Merge pull request #15618 from mheon/add_group_to_addtlgroups
Add container GID to additional groups
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_internal_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 5c5fd471b..bb50ddc43 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -682,6 +682,7 @@ func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) { // User and Group must go together g.SetProcessUID(uint32(execUser.Uid)) g.SetProcessGID(uint32(execUser.Gid)) + g.AddProcessAdditionalGid(uint32(execUser.Gid)) } if c.config.Umask != "" { |