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

writeToFile: allow empty permission to preserve the existing #1929

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clwluvw
Copy link

@clwluvw clwluvw commented May 8, 2024

Allow empty permission to preserve the existing perm if the file exists. Perm 0664 will be used for the created files if it's not specified.

This can be useful for the cases where the file already exists with the right perms but the vault agent process doesn't have access to chmod it but only read/write to it.

Allow empty permission to preserve the existing perm if the file exists.
Perm 0664 will be used for the created files if it's not specified.

This can be useful for the cases where the file already exists with the
right perms but the vault agent process doesn't have access to chmod it
but only read/write to it.

Signed-off-by: Seena Fallah <[email protected]>
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.

1 participant