From b629278d7d52a82cb9aa4fb3865a14d52598b1d9 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Thu, 8 Oct 2015 00:44:05 +0100 Subject: [PATCH] Set static pods dir to 0750 instead of world readible 0755 --- contrib/mesos/pkg/executor/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/mesos/pkg/executor/service/service.go b/contrib/mesos/pkg/executor/service/service.go index 9290fa8b5d3..a6454938927 100644 --- a/contrib/mesos/pkg/executor/service/service.go +++ b/contrib/mesos/pkg/executor/service/service.go @@ -220,7 +220,7 @@ func (s *KubeletExecutorServer) Run(hks hyperkube.Interface, _ []string) error { // create static pods directory staticPodsConfigPath := filepath.Join(s.RootDirectory, "static-pods") - err := os.Mkdir(staticPodsConfigPath, 0755) + err := os.Mkdir(staticPodsConfigPath, 0750) if err != nil { return err }