#1144 backend: execute actions with sane umask=0022
Merged 4 years ago by praiskup. Opened 4 years ago by praiskup.

@@ -104,7 +104,7 @@

  

      context = contextlib.nullcontext()

      if args.daemon:

-         context = daemon.DaemonContext()

+         context = daemon.DaemonContext(umask=0o022)

  

      with context:

          logger_name = '{}.{}.pid-{}'.format(

rebased onto 3d1d5a8

4 years ago

I plan to merge this right after first LGTM, and create micro release with this.

By default, the umask should be inherited from its parent process, so I would expect it to have some reasonable value. Interesting. This change can't hurt though, +1.

Ok, thanks .. I'll point the commit message to documentation about the insane defaults and merge. Thanks for the review!

Commit d849108 fixes this pull-request

Pull-Request has been merged by praiskup

4 years ago