fixed issue with directory permissions on copy #6552
This commit is contained in:
parent
8899c74aaf
commit
f6a75ebaf1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue