Re: s6-log can create current with 640?

From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups_at_NTLWorld.COM>
Date: Wed, 23 Oct 2019 08:15:18 +0100

Dewayne Geraghty:
> I did try umask 037 but that just broke the pipe.

That was probably because you were using the wrong umask tool. It has
to be the chain-loading one in a nosh or an execlineb script.

% cat /var/sv/deluged/service/run
#!/bin/nosh
#Deluge BitTorrent client
envuidgid -- deluge
userenv-fromenv
umask 037
setuidgid -- deluge
deluged --do-not-daemonize
%

* http://jdebp.uk./Softwares/nosh/guide/commands/umask.xml

* http://skarnet.org/software/execline/umask.html
Received on Wed Oct 23 2019 - 07:15:18 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC