[calm] branch master, updated. 77a19e2f3b8ba91a395dae91f15cc127aae126bd
jturney@sourceware.org
jturney@sourceware.org
Wed Mar 16 12:34:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=cygwin-calm.git;h=77a19e2f3b8ba91a395dae91f15cc127aae126bd
commit 77a19e2f3b8ba91a395dae91f15cc127aae126bd
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Wed Mar 16 11:51:03 2016 +0000
Ensure setup.ini file has 0664 permissions
mktemp creates files with 0600 permissions. It's important that setup.ini is
readable by the rsync service, so it can be copied by mirrors.
Diff:
---
package.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package.py b/package.py
index 64fd1a3..90a927f 100755
--- a/package.py
+++ b/package.py
@@ -469,6 +469,8 @@ def write_setup_ini(args, packages):
logging.info('writing %s' % (args.inifile))
with open(args.inifile, 'w') as f:
+ os.fchmod(f.fileno(), 0o664)
+
# write setup.ini header
print(textwrap.dedent('''\
# This file is automatically generated. If you edit it, your
More information about the Cygwin-apps-cvs
mailing list