Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Fixing excessive unix file permissions into release/1.9.x #14840

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #14791 to be assessed for backporting due to the inclusion of the label backport/1.9.x.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

The below text is copied from the body of the original PR.


I also ran https://github.com/securego/gosec#github-action

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/vault-4364/entirely-enhanced-dassie branch from 664ed06 to 1ceae78 Compare April 1, 2022 16:58
@vercel vercel bot temporarily deployed to Preview – vault-storybook April 1, 2022 16:58 Inactive
@vercel vercel bot temporarily deployed to Preview – vault April 1, 2022 16:58 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook April 1, 2022 18:06 Inactive
@vercel vercel bot temporarily deployed to Preview – vault April 1, 2022 18:06 Inactive
@@ -274,7 +274,7 @@ func EnsurePath(path string, dir bool) error {
if !dir {
path = filepath.Dir(path)
}
return os.MkdirAll(path, 0o755)
return os.MkdirAll(path, 0o750)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember seeing this as 0o700 in your main PR. https://github.com/hashicorp/vault/pull/14791/files

@hghaf099 hghaf099 closed this Apr 4, 2022
@hghaf099 hghaf099 deleted the backport/vault-4364/entirely-enhanced-dassie branch April 4, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants