fixed issue with directory permissions on copy #6552

reviewable/pr18780/r1
Brian Coca 11 years ago
parent d10de23f39
commit 402cd11c52

@ -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:

Loading…
Cancel
Save