Closed nicholasmhughes closed 1 year ago
Fixes permissions set incorrectly in transition from full text file management (int octal) to salt.modules.file.set_mode management (octal notation).
salt.modules.file.set_mode
0644 passed as mode would be converted to 420
0644
420
0644 is retained through passing to salt.modules.file.set_mode
[NOTICE] Bug fixes or features added to Salt require tests.
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
What does this PR do?
Fixes permissions set incorrectly in transition from full text file management (int octal) to
salt.modules.file.set_mode
management (octal notation).Previous Behavior
0644
passed as mode would be converted to420
New Behavior
0644
is retained through passing tosalt.modules.file.set_mode
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.