Skip to content

Commit

Permalink
Fix agent logs dir default permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Jul 2, 2024
1 parent f01072a commit 12952a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func Set(_ *cli.Context, dataDir string) error {
}

logsDir := filepath.Join(dataDir, "agent", "logs")
if err := os.MkdirAll(logsDir, 0755); err != nil {
if err := os.MkdirAll(logsDir, 0750); err != nil {
return errors.Wrapf(err, "failed to create directory %s", logsDir)
}

Expand Down

0 comments on commit 12952a3

Please sign in to comment.