diff --git a/runner/conmon_test/runtime_test.go b/runner/conmon_test/runtime_test.go index d34ff485..13899dd6 100644 --- a/runner/conmon_test/runtime_test.go +++ b/runner/conmon_test/runtime_test.go @@ -41,7 +41,9 @@ var _ = Describe("runc", func() { tmpPidFile = filepath.Join(tmpDir, "pidfile") - Expect(os.Link(busyboxDest, filepath.Join(tmpRootfs, "busybox"))).To(BeNil()) + busyboxPath := filepath.Join(tmpRootfs, "busybox") + Expect(os.Link(busyboxDest, busyboxPath)).To(BeNil()) + Expect(os.Chmod(busyboxPath, 0777)).To(BeNil()) // finally, create config.json _, err = generateRuntimeConfig(tmpDir, tmpRootfs)