Skip to content

Commit

Permalink
Merge pull request #332 from gocardless/fix-vault-file-perms
Browse files Browse the repository at this point in the history
[CI-2501]: Fix theatre-secrets `vault-file:` behaviour failing when running as non-root
  • Loading branch information
ijames-gc committed Feb 5, 2024
2 parents 9fc13e4 + 0e4c6e4 commit 0d6ac7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/theatre-secrets/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func mainError(ctx context.Context, command string) (err error) {
path = file.filesystemPath
}
// ensure the path structure is available
err := os.MkdirAll(filepath.Dir(path), 0600)
err := os.MkdirAll(filepath.Dir(path), 0700)
if err != nil {
return errors.Wrap(err, "failed to ensure path structure is available")
}
Expand Down

0 comments on commit 0d6ac7d

Please sign in to comment.