public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm] branch master, updated. 77a19e2f3b8ba91a395dae91f15cc127aae126bd
Date: Wed, 16 Mar 2016 12:34:00 -0000	[thread overview]
Message-ID: <20160316123408.115949.qmail@sourceware.org> (raw)




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


                 reply	other threads:[~2016-03-16 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160316123408.115949.qmail@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).