mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
runsc: Default umask should be 0.
PiperOrigin-RevId: 201539050 Change-Id: I36cbf270fa5ad25de507ecb919e4005eda6aa16d
This commit is contained in:
committed by
Shentubot
parent
ef4f239c79
commit
81d13fbd4d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user