This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[calm] branch master, updated. b23d8c93aa282b7e62a481080f1e15f82655c0b4




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=b23d8c93aa282b7e62a481080f1e15f82655c0b4

commit b23d8c93aa282b7e62a481080f1e15f82655c0b4
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Mar 16 11:51:03 2016 +0000

    Ensure setup.ini file has 0644 permissions
    
    mktemp creates files with 0600 permissions. It's important that setup.ini is
    world-readable, so that it can be copied by mirrors.


Diff:
---
 package.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package.py b/package.py
index 90a927f..9675a19 100755
--- a/package.py
+++ b/package.py
@@ -469,7 +469,7 @@ def write_setup_ini(args, packages):
     logging.info('writing %s' % (args.inifile))
 
     with open(args.inifile, 'w') as f:
-        os.fchmod(f.fileno(), 0o664)
+        os.fchmod(f.fileno(), 0o644)
 
         # write setup.ini header
         print(textwrap.dedent('''\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]