From 402cd11c52ef5c83772f5701b613a765a2926232 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 18 Mar 2014 22:29:22 -0400 Subject: [PATCH] fixed issue with directory permissions on copy #6552 --- files/file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/file b/files/file index 176bd416984..b1c57ff4d97 100644 --- a/files/file +++ b/files/file @@ -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: