summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-08-19 13:18:19 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-08-21 19:06:04 +0200
commit3967c4654461e6673d2418e05678bcda4bf51b2f (patch)
tree6498c77c0deaf2ccaecc258fff75136a31b5aabf /libpod
parent4828455055010a1376f1e83832bfa34787f3a1e7 (diff)
downloadpodman-3967c4654461e6673d2418e05678bcda4bf51b2f.tar.gz
podman-3967c4654461e6673d2418e05678bcda4bf51b2f.tar.bz2
podman-3967c4654461e6673d2418e05678bcda4bf51b2f.zip
vendor: update opencontainers/runtime-spec
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal_linux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index ea4340e00..31dbee572 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -385,7 +385,8 @@ func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
if err != nil {
return nil, errors.Wrapf(err, "Invalid Umask Value")
}
- g.SetProcessUmask(uint32(decVal))
+ umask := uint32(decVal)
+ g.Config.Process.User.Umask = &umask
}
// Add addition groups if c.config.GroupAdd is not empty