mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-28 18:47:55 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ func GetKeepIDMapping(opts *namespaces.KeepIDUserNsOptions) (*stypes.IDMappingOp
|
|||
if err != nil {
|
||||
return nil, 0, 0, err
|
||||
}
|
||||
gids, err := rootless.ReadMappingsProc("/proc/self/uid_map")
|
||||
gids, err := rootless.ReadMappingsProc("/proc/self/gid_map")
|
||||
if err != nil {
|
||||
return nil, 0, 0, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue