Closed terminalmage closed 3 months ago
Fixes a bug causing files created using salt.utils.atomicfile.atomic_open() to not respect the system umask.
salt.utils.atomicfile.atomic_open()
Fixes #66786
Files were always created with a mode of 600
The umask is now respected.
[NOTICE] Bug fixes or features added to Salt require tests.
No
@dmurphy18 Will this require a rebase once the PR with the text fix is merged?
@terminalmage PR https://github.com/saltstack/salt/pull/66763 just got merged, updated the PR, and it should pass.
What does this PR do?
Fixes a bug causing files created using
salt.utils.atomicfile.atomic_open()
to not respect the system umask.What issues does this PR fix or reference?
Fixes #66786
Previous Behavior
Files were always created with a mode of 600
New Behavior
The umask is now respected.
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
No