-
Notifications
You must be signed in to change notification settings - Fork 198
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
Jsonnet doesn't remember file mode #506
Comments
Hey, I would like to work on this issue. I am a first-time contributor. Can you suggest relevant resources to be studied for working on this issue? |
Hey @sanyam1997 this particular issue requires a bit more thought as jsonnet per se does not allow doing this. An idea to solve this issue is to allow setting a new option in the inventory to set the mode file permissions for a particular pattern of files. |
Hey @ramaro, I am new to open source and was looking for some guidance during the initial phase of open source contribution. Can you please email me at [email protected]? |
Describe the bug/feature
When you render a file with the jinja2 input type, it remembers the file mode (e.g. executable). With the jsonnet input type this is not working.
To Reproduce
Steps to reproduce the behavior:
template/apply.sh
exists and has executable flags (chmod +x template/apply.sh)Expected behavior
the output file apply.sh should have the same file mode as the input template
The text was updated successfully, but these errors were encountered: