summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Admin/Init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py
index eab030cf8..9a6ad9de9 100644
--- a/src/lib/Server/Admin/Init.py
+++ b/src/lib/Server/Admin/Init.py
@@ -156,7 +156,7 @@ def create_conf(confpath, confdata, keypath):
return
try:
open(confpath, "w").write(confdata)
- os.chmod(keypath, stat.S_IRUSR | stat.S_IWUSR) # 0600
+ os.chmod(confpath, stat.S_IRUSR | stat.S_IWUSR) # 0600
except Exception:
e = sys.exc_info()[1]
print("Error %s occured while trying to write configuration "