From af0417758c175bd3b4fbdfcbc6ae56c015cdd3b4 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Mon, 30 Jan 2017 19:10:22 +0100 Subject: [PATCH] Bugfix change permissions during update --- cps/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/helper.py b/cps/helper.py index 63000609..f3f5b660 100755 --- a/cps/helper.py +++ b/cps/helper.py @@ -290,9 +290,9 @@ def reduce_files(remove_items, exclude_items): return rf def moveallfiles(root_src_dir, root_dst_dir): - change_permissions = False + change_permissions = True if sys.platform == "win32" or sys.platform == "darwin": - change_permissions=True + change_permissions=False else: app.logger.debug('OS-System : '+sys.platform ) new_permissions=os.stat(root_dst_dir)