Repository navigation
acl.delfacl: fix position of -X option to setfacl - #36938
Conversation
|
Nice catch @wanparo. It looks like one of our unit tests is failing with this change. Can you take a look at that? Let us know if you have any questions. |
|
No idea about |
|
@wanparo The zeromq_test is unrelated and a flaky test. I figured the linux_acl_test was failing because of your change (and was testing the incorrect behavior) and needed to be adjusted. Is that something you could fix for this pull request? I can grab it if not. Just let me know either way. |
|
I'm afraid testing the unit test takes more time to setup than I have right now, it would be great if you could make the change to the test yourself. |
|
@wanparo No problem! I have made a pull request against your branch. If you merge that in, I believe that will pull in the change here. Otherwise I can just submit both changes in my own PR to Salt. LMK what you'd prefer. Thanks again for your help! |
Adjust linux_acl unit test argument ordering
|
Thanks, that worked! |
What does this PR do?
Fix wrong order of options to
setfaclforacl.delfacloflinux_acl.pyforrecursive=TruePrevious Behavior
setfaclcalled byacl.delfacl recursive=Truecomplains about the wrong-Rparameter to the-xoption:New Behavior
The call to setfacl succeeds.
Tests written?
No
Please review Salt's Contributing Guide for best practices.