diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go index 383e16ab2f3..ec2c4d44283 100644 --- a/cmd/builder/internal/builder/main_test.go +++ b/cmd/builder/internal/builder/main_test.go @@ -391,7 +391,7 @@ func TestGenerateAndCompile(t *testing.T) { err := cfg.SetBackwardsCompatibility() require.NoError(t, err) cfg.Distribution.OutputPath = t.TempDir() - assert.NoError(t, os.Chmod(cfg.Distribution.OutputPath, 0000)) + assert.NoError(t, os.Chmod(cfg.Distribution.OutputPath, 0200)) cfg.Replaces = append(cfg.Replaces, replaces...) return cfg },