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

Reply via email to