[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200611-16-gc507644
Jon TURNEY
jturney@sourceware.org
Tue Sep 8 13:53:05 GMT 2020
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
More information about the Cygwin-apps-cvs
mailing list