Commit f6a75eba by Brian Coca

fixed issue with directory permissions on copy #6552

parent 8899c74a
...@@ -203,7 +203,7 @@ def main(): ...@@ -203,7 +203,7 @@ def main():
src = os.path.expanduser(src) src = os.path.expanduser(src)
# original_basename is used by other modules that depend on file. # 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']: if params['original_basename']:
basename = params['original_basename'] basename = params['original_basename']
else: 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