diff --git a/test/e2e/storage/drivers/in_tree.go b/test/e2e/storage/drivers/in_tree.go index 402ad397858..8e6ef01d8f0 100644 --- a/test/e2e/storage/drivers/in_tree.go +++ b/test/e2e/storage/drivers/in_tree.go @@ -1228,8 +1228,8 @@ func (l *localDriver) PrepareTest(ctx context.Context, f *framework.Framework) * // tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,inode64) // This prevents scripts and binaries from being executed from the /tmp directory. // This can cause errors like "Permission denied" when executing files from `/tmp`. - // To pass the test that verifies the execution of files on a volume, we use `/var/tmp` instead of `/tmp`. - l.ltrMgr = utils.NewLocalResourceManager("local-driver", l.hostExec, "/var/tmp") + // To pass the test that verifies the execution of files on a volume, we use `/var` instead of `/tmp`. + l.ltrMgr = utils.NewLocalResourceManager("local-driver", l.hostExec, "/var") // This can't be done in SkipUnsupportedTest because the test framework is not initialized yet if l.volumeType == utils.LocalVolumeGCELocalSSD {