From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 5C22A385042A; Tue, 8 Sep 2020 13:53:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C22A385042A To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200611-16-gc507644 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: cff06d3dc719f5277ca9229d42153e5073a03f7e X-Git-Newrev: c507644c2c56e1fe8476b1ce48aa1642e4a80bc8 Message-Id: <20200908135305.5C22A385042A@sourceware.org> Date: Tue, 8 Sep 2020 13:53:05 +0000 (GMT) From: Jon TURNEY X-BeenThere: cygwin-apps-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin-apps git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 13:53:05 -0000 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c507644c2c56e1fe8476b1ce48aa1642e4a80bc8 commit c507644c2c56e1fe8476b1ce48aa1642e4a80bc8 Author: Jon Turney Date: Tue Sep 8 01:23:29 2020 +0100 Set the umask for the calm daemon It seems that daemon.DaemonContext() defaults to umask=0o000, which is not what we want. Diff: --- calm/calm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/calm/calm.py b/calm/calm.py index adfface..889204b 100755 --- a/calm/calm.py +++ b/calm/calm.py @@ -503,6 +503,7 @@ def do_daemon(args, state): context = daemon.DaemonContext( stdout=sys.stdout, stderr=sys.stderr, + umask=0o002, pidfile=lockfile.pidlockfile.PIDLockFile(args.daemon)) running = True