Add partially backwards compatible version of _fixup_perms. (#17427)

Also added a deprecation notice for _fixup_perms.

Resolves issue #17352 (assumes custom actions use recursive=False).
This commit is contained in:
Matt Clay 2016-09-06 16:49:59 -07:00 committed by GitHub
parent 1d412059a0
commit 94a0d2afb4
10 changed files with 46 additions and 10 deletions

View file

@ -81,7 +81,7 @@ class ActionModule(ActionBase):
if argsfile:
remote_paths += argsfile,
self._fixup_perms(remote_paths, remote_user, execute=True)
self._fixup_perms2(remote_paths, remote_user, execute=True)
async_limit = self._task.async
async_jid = str(random.randint(0, 999999999999))