Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmdmod: New group option for command execution & MacOS shell arg fix #43901
What does this PR do?
What issues does this PR fix or reference?
Please review Salt's Contributing Guide for best practices.
changed the title
Add group option to execute commands under a different grou
Oct 4, 2017
Indecisive on the issue name.
Here are some test runs on my local dev box:
This command should fail on other shells that are not fishy enough.
Bash wasn't fishy enough.
This shows a few more runs mixing
Files created whilst running under a different group inherit the group ownership, which can be particularly useful in some situations.
This demonstrates the new
I note this PR has a conflict at this point. Looks trivial to fix though since it's just a matter of relocating the changes in
Normally I would just rebase against develop and force-push, but since everything has been approved at this point, I don't want to invalidate that.