Revision ef703f87

b/kamaki/config.py
31 31
# interpreted as representing official policies, either expressed
32 32
# or implied, of GRNET S.A.
33 33

  
34
import os
35

  
34 36
from collections import defaultdict
35 37
from ConfigParser import RawConfigParser, NoOptionError, NoSectionError
36 38

  
......
112 114
    
113 115
    def write(self):
114 116
        with open(self.path, 'w') as f:
117
            os.chmod(self.path, 0600)
115 118
            f.write(HEADER.lstrip())
116 119
            RawConfigParser.write(self, f)

Also available in: Unified diff