···11-diff -ruN a/src/config.py b/src/config.py
22---- a/src/config.py 2015-07-31 19:35:37.000000000 +0000
33-+++ b/src/config.py 2015-08-03 09:23:34.322098081 +0000
44-@@ -14,6 +14,7 @@
55-66- import logging.config
77- import os
88-+import stat
99- import sys
1010- import pkg_resources
1111-1212-@@ -563,6 +564,13 @@
1313- copy2(default, options.filename)
1414- elif path.isfile(other):
1515- copy2(other, options.filename)
1616-+
1717-+ # Inside the nixstore, the reference file is readonly, so is the copy.
1818-+ # Make it writable by the user who just created it.
1919-+ if os.path.exists(options.filename):
2020-+ os.chmod(options.filename,
2121-+ os.stat(options.filename).st_mode | stat.S_IWUSR)
2222-+
2323- global firstrun
2424- firstrun = True
2525-