diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-06-21 09:42:17 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-21 09:43:15 -0700 |
commit | 81d13fbd4d2f14b61e89faa0c9888be568f97168 (patch) | |
tree | 8bc513e2e977684cfa1c7420d5414f91a05bb470 /runsc/boot/loader.go | |
parent | ef4f239c793a1a202d3249c6a8139e0602d94d94 (diff) |
runsc: Default umask should be 0.
PiperOrigin-RevId: 201539050
Change-Id: I36cbf270fa5ad25de507ecb919e4005eda6aa16d
Diffstat (limited to 'runsc/boot/loader.go')
-rw-r--r-- | runsc/boot/loader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index d1a413cc7..e1194bd03 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -259,7 +259,7 @@ func newProcess(spec *specs.Spec, conf *Config, ioFDs []int, console bool, creds Envv: spec.Process.Env, WorkingDirectory: spec.Process.Cwd, Credentials: creds, - Umask: uint(0022), + Umask: 0, Limits: ls, MaxSymlinkTraversals: linux.MaxSymlinkTraversals, UTSNamespace: utsns, |