From 15fccae4467994cb81411db2c2601d91f22987cc Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Mon, 27 Jan 2014 02:14:27 +0100 Subject: [PATCH] Re: Bug: notmuch new chokes on dangling symlinks and quits --- 68/01cbe988ebd1b394ab8ca2676700d83f982612 | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 68/01cbe988ebd1b394ab8ca2676700d83f982612 diff --git a/68/01cbe988ebd1b394ab8ca2676700d83f982612 b/68/01cbe988ebd1b394ab8ca2676700d83f982612 new file mode 100644 index 000000000..e5ccb06fb --- /dev/null +++ b/68/01cbe988ebd1b394ab8ca2676700d83f982612 @@ -0,0 +1,83 @@ +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 17628431FBC + for ; Sun, 26 Jan 2014 17:20:31 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.001 +X-Spam-Level: +X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 + tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] + 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 H8r4j7IlAtoj for ; + Sun, 26 Jan 2014 17:20:23 -0800 (PST) +X-Greylist: delayed 302 seconds by postgrey-1.32 at olra; + Sun, 26 Jan 2014 17:20:17 PST +Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 849F3431FBF + for ; Sun, 26 Jan 2014 17:20:17 -0800 (PST) +Received: from boo.workgroup ([87.187.157.204]) by mail.gmx.com (mrgmx003) + with ESMTPSA (Nemesis) id 0Mdr7l-1VvHXo1cqr-00PhO4 for + ; Mon, 27 Jan 2014 02:15:13 +0100 +Received: from grfz by boo.workgroup with local (Exim 4.82) + (envelope-from ) + id 1W7amv-0007U9-Bu; Mon, 27 Jan 2014 02:14:57 +0100 +Date: Mon, 27 Jan 2014 02:14:27 +0100 +From: Gregor Zattler +To: notmuch +Subject: Re: Bug: notmuch new chokes on dangling symlinks and quits +Message-ID: <20140127011427.GD10844@boo.workgroup> +Mail-Followup-To: notmuch +References: <20140126131846.GA10844@boo.workgroup> + <878uu2n17j.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <878uu2n17j.fsf@zancas.localnet> +User-Agent: Mutt/1.5.21 (2010-09-15) +Sender: error4me@gmx.de +X-Provags-ID: V03:K0:7lmocWghftCCBB3wKXYcYQR/TgYJC7sSn7oOrKWnluowYG40S/U + HS/D+voTKezZWOghgEdwD679jpKM1w3HKixcYakyV7DwroN5wOPHrVC+Yu/SDsGamg3gcBg + kbqss+faO5sRiMFFMYmQ9BaiB58BPrkzwPSoH8fRVGZQ20Tc1sHeXTvjLbYs7HntjeTlqdO + 2OAPKPw9K0gqX5nmhb4vg== +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: Mon, 27 Jan 2014 01:20:31 -0000 + +Hi David, +* David Bremner [26. Jan. 2014]: +> Gregor Zattler writes: +>> I consider this to be a bug. Instead notmuch should simply +>> ignore the symlink. +>> +> +> Since there is a test for specifically this behaviour, I'd have to say +> it's a design decision you don't agree with, not a bug ;). + +May I ask why this is so? + +> In any case, if there is just a few broken symlinks, and you want to +> ignore them, you can add them the ignore= line in .notmuch-config + +Thanks, I deleted some, and ignored others. Insofar my problem is +solved. + +Ciao, Gregor +-- + -... --- .-. . -.. ..--.. ...-.- -- 2.26.2