From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29211 invoked by alias); 26 Mar 2018 17:38:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42536 Received: (qmail 11841 invoked by uid 1010); 26 Mar 2018 17:38:11 -0000 X-Qmail-Scanner-Diagnostics: from kahlil.inlv.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(37.59.109.123):SA:0(-1.9/5.0):. Processed in 11.879846 secs); 26 Mar 2018 17:38:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: martijn@inlv.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Subject: Re: [PATCH] make sure internal temp files are user readable and writeable To: Zsh hackers list References: <581009fe-372c-641a-cf5f-87e6a2a68dbb@inlv.org> <20180326170044.GA10044@chaz.gmail.com> From: Martijn Dekker Message-ID: Date: Mon, 26 Mar 2018 19:37:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180326170044.GA10044@chaz.gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Op 26-03-18 om 19:00 schreef Stephane Chazelas: > Thanks. See also 42446 > (https://www.zsh.org/mla/workers/2018/msg00252.html) > with other suggested options. Ah yes, sorry, forgot you'd already brought it up here. > There I mentioned the potential need to block signals between > the time the umask is changed temporarily and when it's restored > (to avoid traps running with the wrong umask (0177 instead of > the user's requested one)). Good point. Please consider my patch withdrawn. - M.