Commit b629278d authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

Set static pods dir to 0750 instead of world readible 0755

parent d74950cf
...@@ -220,7 +220,7 @@ func (s *KubeletExecutorServer) Run(hks hyperkube.Interface, _ []string) error { ...@@ -220,7 +220,7 @@ func (s *KubeletExecutorServer) Run(hks hyperkube.Interface, _ []string) error {
// create static pods directory // create static pods directory
staticPodsConfigPath := filepath.Join(s.RootDirectory, "static-pods") staticPodsConfigPath := filepath.Join(s.RootDirectory, "static-pods")
err := os.Mkdir(staticPodsConfigPath, 0755) err := os.Mkdir(staticPodsConfigPath, 0750)
if err != nil { if err != nil {
return err return err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment