Merge pull request #8271 from tksmd/fix-copy-set-fs-attributes-issue

fix an issue that copying directory will fail when trying to change file attributes
This commit is contained in:
James Cammarata
2014-07-25 09:38:24 -05:00
2 changed files with 8 additions and 1 deletions

View File

@@ -268,6 +268,7 @@ class ActionModule(object):
new_module_args = dict(
src=tmp_src,
dest=dest,
original_basename=source_rel
)
if self.runner.noop_on_check(inject):
new_module_args['CHECKMODE'] = True