From 7b7b12589838b1406ab4901b7b9960d2b456fac1 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sun, 10 Jul 2016 09:24:15 +0200 Subject: [PATCH] Do not use octal number --- cscripts/csiactcopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscripts/csiactcopy.py b/cscripts/csiactcopy.py index 8d8dc53..b763d93 100755 --- a/cscripts/csiactcopy.py +++ b/cscripts/csiactcopy.py @@ -698,7 +698,7 @@ class csiactcopy(ctools.cscript): # before writing the file. This is needed as the original master file # may be read-only, and the shutil.copy2 function copies over the # access permissions. - os.chmod(localmaster, 0644) + os.chmod(localmaster, 420) f = open(localmaster, 'w') data['datasets'] = newconfigs json.dump(data, f, indent=2) -- libgit2 0.21.4