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

Accept string or numeric spec.hosts.files.perm #248

Merged
merged 1 commit into from
Oct 12, 2021
Merged

Conversation

kke
Copy link
Contributor

@kke kke commented Oct 12, 2021

Fixes #243

An octal spec.hosts[*].files.perm was being converted to integer and then to string. If you passed it quoted as "0755", it would work ok, but without quotes you would get quite odd permissions.

Adds a couple of validations / sanity checks for the perm mode.

@kke kke added the bug Something isn't working label Oct 12, 2021
@kke kke merged commit 82ed658 into main Oct 12, 2021
@kke kke deleted the host-files-perm-syntax branch October 12, 2021 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs on spec.hosts[*].files.perm suggest using octal literal
1 participant