diff options
Diffstat (limited to 'src/lib/Server/Admin')
-rw-r--r-- | src/lib/Server/Admin/Init.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py index c78750009..f8cc7662b 100644 --- a/src/lib/Server/Admin/Init.py +++ b/src/lib/Server/Admin/Init.py @@ -134,6 +134,7 @@ class Init(Bcfg2.Server.Admin.Mode): try: open(configfile, "w").write(confdata) + os.chmod(configfile, '0600') except: # FIXME how to handle print "Failed to write configuration file to '%s'\n" % configfile |