Commit efcf93f2 by James Cammarata

Merge pull request #6571 from bcoca/file_fixes_copydir

fixed issue with directory permissions on copy
parents 4880cfb5 f6a75eba
......@@ -203,7 +203,7 @@ def main():
src = os.path.expanduser(src)
# original_basename is used by other modules that depend on file.
if os.path.isdir(path) and state not in ["link", "absent", "directory"]:
if os.path.isdir(path) and state not in ["link", "absent"]:
if params['original_basename']:
basename = params['original_basename']
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment