Commit 7b7b12589838b1406ab4901b7b9960d2b456fac1
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 | 698 | # before writing the file. This is needed as the original master file |
| 699 | 699 | # may be read-only, and the shutil.copy2 function copies over the |
| 700 | 700 | # access permissions. |
| 701 | - os.chmod(localmaster, 0644) | |
| 701 | + os.chmod(localmaster, 420) | |
| 702 | 702 | f = open(localmaster, 'w') |
| 703 | 703 | data['datasets'] = newconfigs |
| 704 | 704 | json.dump(data, f, indent=2) | ... | ... |