Skip to content

Commit 78db6d8

Browse files
Andrea Spaccajsoriano
Andrea Spacca
andauthored
fix mode permission on rally track output dir (#1575)
* fix mode permission on rally track output dir * Update internal/benchrunner/runners/rally/runner.go Co-authored-by: Jaime Soriano Pastor <[email protected]> --------- Co-authored-by: Jaime Soriano Pastor <[email protected]>
1 parent ba36949 commit 78db6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/benchrunner/runners/rally/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ func (r *runner) runGenerator(destDir string) error {
692692

693693
if r.options.RallyTrackOutputDir != "" {
694694
r.persistRallyTrackHandler = func() error {
695-
err := os.MkdirAll(r.options.RallyTrackOutputDir, os.ModeDir)
695+
err := os.MkdirAll(r.options.RallyTrackOutputDir, 0755)
696696
if err != nil {
697697
return fmt.Errorf("cannot not create rally track output dir: %w", err)
698698
}

0 commit comments

Comments
 (0)