Commit 7b7b12589838b1406ab4901b7b9960d2b456fac1

Authored by Jürgen Knödlseder
1 parent 8f3777a4

Do not use octal number

Showing 1 changed file with 1 additions and 1 deletions
cscripts/csiactcopy.py
@@ -698,7 +698,7 @@ class csiactcopy(ctools.cscript): @@ -698,7 +698,7 @@ class csiactcopy(ctools.cscript):
698 # before writing the file. This is needed as the original master file 698 # before writing the file. This is needed as the original master file
699 # may be read-only, and the shutil.copy2 function copies over the 699 # may be read-only, and the shutil.copy2 function copies over the
700 # access permissions. 700 # access permissions.
701 - os.chmod(localmaster, 0644) 701 + os.chmod(localmaster, 420)
702 f = open(localmaster, 'w') 702 f = open(localmaster, 'w')
703 data['datasets'] = newconfigs 703 data['datasets'] = newconfigs
704 json.dump(data, f, indent=2) 704 json.dump(data, f, indent=2)