From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2688 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jonathan de Boyne Pollard Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6-log can create current with 640? Date: Wed, 23 Oct 2019 08:15:18 +0100 Message-ID: References: <6f3a28f8-798c-9a55-e79b-2e54b37edf2e@heuristicsystems.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="96589"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 To: Supervision Original-X-From: supervision-return-2277-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Oct 23 09:15:24 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iNArc-000P2c-Da for gcsg-supervision@m.gmane.org; Wed, 23 Oct 2019 09:15:24 +0200 Original-Received: (qmail 26076 invoked by uid 89); 23 Oct 2019 07:15:47 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 26069 invoked from network); 23 Oct 2019 07:15:47 -0000 X-Originating-IP: [86.10.101.211] X-Authenticated-User: J.deBoynePollard-newsgroups@NTLWorld.COM X-Spam: 0 X-Authority: v=2.3 cv=Kc78TzQD c=1 sm=1 tr=0 a=FQ5CjUvp3JFI4KFGyeqcZw==:117 a=FQ5CjUvp3JFI4KFGyeqcZw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=rg2V61WcAAAA:8 a=uj8X_y5MAAAA:8 a=c6r0EUI5cRI2Ywu3a4gA:9 a=QEXdDO2ut3YA:10 a=OJa4j9DzcjsA:10 a=AS2zmdguaxcA:10 a=h69R20VfCSIA:10 a=h2Zpg1Gm_F5nnxfnuFwt:22 a=gp7W3T1CZUxA4ewt6LkN:22 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1571814919; bh=3sVTbBYe3r1OoSUJ0SwvF97y33d79L8ZtNS1+B4i1nk=; h=Subject:To:References:From:Date:In-Reply-To; b=ZXqCFOHageCdnsex7J7PbGEKswgh+x/Vv+niniwPunelFvIwjqcNzW+V1mtYajcYp qfwKUtmBYFxeQgogOVJ2r/NxO1ctjwUYf6PSOn3IJdDXzTnvbcLtLrGR4gWFwNunlf J2Q/MKkKBampU6zY260AJ077ucy5m/1KDTrhSUQhIVgirmeKaGlsocvVRPJuPOjS1d eqenm6xjSrDfx7t91VWtlP9F/6uUCAopOayzObbCXkE0H1Lno34+2VWGROQN+NTu1L wI95t3bIckrsnT1Z7iPPaCh72jeas4ja7tyKiafvKpJIYckH8nnxCIMs2hPZ6WaX2H Rs1MvwV8PuUnw== In-Reply-To: <6f3a28f8-798c-9a55-e79b-2e54b37edf2e@heuristicsystems.com.au> X-CMAE-Envelope: MS4wfOLPg9GcqrOmP6Tn1nu8p5UVtH6ZivY01oxSZMgsK82t3b8VX9kN8Vbdm0iIqNr7fXGb+zP5in54Jewwux5OuMWZnHwPz0e7jn4u+301CRVDtK73GcxN ohKoXclrx7tLi4+2keqXDlAIkdqmvdiawFGx6mZ/M9h8RzeT0KfIQyWqOQFzda7SMn03VNgF6XBXH9lQ81bbiSkYK2PU+/vtf/wP3exFf0mcWNQxHkacHrYF Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2688 Archived-At: 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