fixed issue with directory permissions on copy #6552

pull/6571/head
Brian Coca 12 years ago
parent 8899c74aaf
commit f6a75ebaf1

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

Loading…
Cancel
Save