mirror of https://github.com/containers/podman.git
Merge pull request #19062 from Luminger/fix-use-gid-map-not-uid-map
Use /proc/self/gid_map as intended, not uid_map
This commit is contained in:
commit
82af41cf2a
|
@ -195,7 +195,7 @@ func GetKeepIDMapping(opts *namespaces.KeepIDUserNsOptions) (*stypes.IDMappingOp
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, 0, 0, err
|
return nil, 0, 0, err
|
||||||
}
|
}
|
||||||
gids, err := rootless.ReadMappingsProc("/proc/self/uid_map")
|
gids, err := rootless.ReadMappingsProc("/proc/self/gid_map")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, 0, 0, err
|
return nil, 0, 0, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue