Commit d7768e62 authored by Brenda Chan's avatar Brenda Chan

Removes 'rwx' permissions for global users

- the tests make an assumption that the permissions on the /tmp dir have not been altered
parent 76f19839
...@@ -51,7 +51,7 @@ var _ = framework.KubeDescribe("HostPath", func() { ...@@ -51,7 +51,7 @@ var _ = framework.KubeDescribe("HostPath", func() {
fmt.Sprintf("--file_mode=%v", volumePath), fmt.Sprintf("--file_mode=%v", volumePath),
} }
f.TestContainerOutput("hostPath mode", pod, 0, []string{ f.TestContainerOutput("hostPath mode", pod, 0, []string{
"mode of file \"/test-volume\": dtrwxrwxrwx", // we expect the sticky bit (mode flag t) to be set for the dir "mode of file \"/test-volume\": dtrwxrwx", // we expect the sticky bit (mode flag t) to be set for the dir
}) })
}) })
......
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