···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+
···11+--- rush-1.7/gnu/stdio.in.h.org 2010-06-13 19:14:59.000000000 +0200
22++++ rush-1.7/gnu/stdio.in.h 2013-12-30 14:29:55.000000000 +0100
33+@@ -138,8 +138,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not
44+ /* It is very rare that the developer ever has full control of stdin,
55+ so any use of gets warrants an unconditional warning. Assume it is
66+ always declared, since it is required by C89. */
77++#if defined gets
88+ #undef gets
99+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
1010++#endif
1111+1212+ #if @GNULIB_FOPEN@
1313+ # if @REPLACE_FOPEN@