Skip to content

writeToFile: allow empty permission to preserve the existing#1929

Open
clwluvw wants to merge 1 commit into
hashicorp:mainfrom
clwluvw:writetofile-noperm
Open

writeToFile: allow empty permission to preserve the existing#1929
clwluvw wants to merge 1 commit into
hashicorp:mainfrom
clwluvw:writetofile-noperm

Conversation

@clwluvw
Copy link
Copy Markdown

@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 <seenafallah@gmail.com>
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