From: Austin Clements Date: Wed, 29 May 2013 20:34:33 +0000 (+2000) Subject: Re: v3 of --stderr=FILE patches X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=794506e5966430091e1862f69c4c9d0241570522;p=notmuch-archives.git Re: v3 of --stderr=FILE patches --- diff --git a/27/dac0294f0840b3e46e9fbdd7f2a15b0481d5c4 b/27/dac0294f0840b3e46e9fbdd7f2a15b0481d5c4 new file mode 100644 index 000000000..f9c5b1cae --- /dev/null +++ b/27/dac0294f0840b3e46e9fbdd7f2a15b0481d5c4 @@ -0,0 +1,89 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id D4A79431FAF + for ; Wed, 29 May 2013 13:34:49 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id s+QjJnw6iE5O for ; + Wed, 29 May 2013 13:34:40 -0700 (PDT) +Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu + [18.7.68.35]) + by olra.theworths.org (Postfix) with ESMTP id 3F80D431FAE + for ; Wed, 29 May 2013 13:34:40 -0700 (PDT) +X-AuditID: 12074423-b7f826d000001438-be-51a6665e4ba9 +Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) + by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP + id D0.EB.05176.E5666A15; Wed, 29 May 2013 16:34:38 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r4TKYauU005362; + Wed, 29 May 2013 16:34:37 -0400 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r4TKYYjG025997 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); + Wed, 29 May 2013 16:34:35 -0400 +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80) + (envelope-from ) + id 1Uhn4s-0006PO-0J; Wed, 29 May 2013 16:34:34 -0400 +Date: Wed, 29 May 2013 16:34:33 -0400 +From: Austin Clements +To: Tomi Ollila +Subject: Re: v3 of --stderr=FILE patches +Message-ID: <20130529203433.GX5999@mit.edu> +References: <1369766335-26733-1-git-send-email-tomi.ollila@iki.fi> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <1369766335-26733-1-git-send-email-tomi.ollila@iki.fi> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFmphleLIzCtJLcpLzFFi42IR4hTV1o1LWxZo8OSjoMX1mzOZLd6snMfq + wORx+OtCFo9nq24xBzBFcdmkpOZklqUW6dslcGUca1rOVDCXteLU21a2BsYVLF2MnBwSAiYS + Ky+1MkPYYhIX7q1n62Lk4hAS2Mco8fDpPHYIZyOjROe1M4wQzmkmiQtLrrNAOEsYJS7M7GcE + 6WcRUJWY82kamM0moCGxbf9yMFtEQEXiQdt6VhCbWUBa4tvvZiYQWxio5lLzHbA7eAW0JbZ1 + LgerERJwkpj0/RJUXFDi5MwnLBC9WhI3/r0E6uUAm7P8HwdImFPAWWLj8b1graJAq6ac3MY2 + gVFoFpLuWUi6ZyF0L2BkXsUom5JbpZubmJlTnJqsW5ycmJeXWqRrppebWaKXmlK6iREU2Owu + yjsY/xxUOsQowMGoxMO7QWtZoBBrYllxZe4hRkkOJiVR3ksJQCG+pPyUyozE4oz4otKc1OJD + jBIczEoivGu0gXK8KYmVValF+TApaQ4WJXHeayk3/YUE0hNLUrNTUwtSi2CyMhwcShK8vqlA + jYJFqempFWmZOSUIaSYOTpDhPEDDPUBqeIsLEnOLM9Mh8qcYFaXEIRICIImM0jy4XljiecUo + DvSKMK8qSBUPMGnBdb8CGswENFiceTHI4JJEhJRUAyPvIsUMB8G+AuaYMiVJ3vkSIVPei8rw + Wpzd/DYvZdlzvtceM5hihHUYc3JNnap9dnZzlghszJxuciTygN4U10lOj2Osv6z+brN400zn + pwFnDU7fr7jANVNeQXB189nDj+xPLa10ZptXcD7eOsf4/yNNuQVL5we5CmpqVNpbOV1Zu/j9 + Kradc5RYijMSDbWYi4oTAd4e5CYXAwAA +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 29 May 2013 20:34:50 -0000 + +LGTM. + +Quoth Tomi Ollila on May 28 at 9:38 pm: +> This is v3 of id:1369557954-13439-1-git-send-email-tomi.ollila@iki.fi +> +> In id:m2a9nfr4tb.fsf@guru.guru-group.fi I suggested to use 0600 as +> permission bits so that files written to /tmp would not have write +> bits set in any case. That would have been inconsistent what is +> normally expected in redirection cases. The problem I described +> is easily avoided in emacs as (make-temp-file "nmerr") will create +> file "/tmp/nmerrXXXXXX" with permissions 0600 -- and writing to +> that already-created file will not change its permissions. Writing +> elsewhere is usually covered with directory permissions.