toolsutils.py
changeset 10591 8e46ed1a0b8a
parent 10589 7c23b7de2b8d
child 10614 57dfde80df11
--- a/toolsutils.py	Fri Sep 11 15:29:25 2015 +0200
+++ b/toolsutils.py	Fri Sep 11 15:50:29 2015 +0200
@@ -162,7 +162,7 @@
         log('set permissions to 0600 for %s', filepath)
     else:
         print('-> set permissions to 0600 for %s' % filepath)
-    chmod(filepath, 0600)
+    chmod(filepath, 0o600)
 
 def read_config(config_file, raise_if_unreadable=False):
     """read some simple configuration from `config_file` and return it as a