diff --git a/main.go b/main.go index 56a6066f8c5..b54371c103d 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,7 @@ import ( "runtime" "strconv" "strings" + "syscall" "github.com/opencontainers/runc/libcontainer/seccomp" "github.com/opencontainers/runtime-spec/specs-go" @@ -53,6 +54,7 @@ value for "bundle" is the current directory.` ) func main() { + syscall.Umask(0) app := cli.NewApp() app.Name = "runc" app.Usage = usage