Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request from GHSA-rc4r-wh2q-q6c4
AdditionalGids must include effective group ID
  • Loading branch information
thaJeztah committed Sep 8, 2022
2 parents 098be5f + 25345f2 commit de7af81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/oci_linux.go
Expand Up @@ -198,6 +198,7 @@ func getUser(c *container.Container, username string) (specs.User, error) {
}
usr.UID = uint32(execUser.Uid)
usr.GID = uint32(execUser.Gid)
usr.AdditionalGids = []uint32{usr.GID}

var addGroups []int
if len(c.HostConfig.GroupAdd) > 0 {
Expand Down

0 comments on commit de7af81

Please sign in to comment.