public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200611-16-gc507644 Date: Tue, 8 Sep 2020 13:53:05 +0000 (GMT) [thread overview] Message-ID: <20200908135305.5C22A385042A@sourceware.org> (raw) 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
reply other threads:[~2020-09-08 13:53 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=20200908135305.5C22A385042A@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: linkBe 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).