summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-06-21 09:42:17 -0700
committerShentubot <shentubot@google.com>2018-06-21 09:43:15 -0700
commit81d13fbd4d2f14b61e89faa0c9888be568f97168 (patch)
tree8bc513e2e977684cfa1c7420d5414f91a05bb470 /runsc
parentef4f239c793a1a202d3249c6a8139e0602d94d94 (diff)
runsc: Default umask should be 0.
PiperOrigin-RevId: 201539050 Change-Id: I36cbf270fa5ad25de507ecb919e4005eda6aa16d
Diffstat (limited to 'runsc')
-rw-r--r--runsc/boot/loader.go2
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,