public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200611-16-gc507644
@ 2020-09-08 13:53 Jon TURNEY
0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-09-08 13:53 UTC (permalink / raw)
To: cygwin-apps-cvs
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c507644c2c56e1fe8476b1ce48aa1642e4a80bc8
commit c507644c2c56e1fe8476b1ce48aa1642e4a80bc8
Author: Jon Turney <jon.turney@dronecode.org.uk>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-08 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 13:53 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200611-16-gc507644 Jon TURNEY
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).