Re: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks
authorJed Brown <jed@59A2.org>
Thu, 26 Nov 2009 18:39:01 +0000 (19:39 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:44 +0000 (09:35 -0800)
c8/2d4563d6b1a49f85a781eca5f31b7c6a865629 [new file with mode: 0644]

diff --git a/c8/2d4563d6b1a49f85a781eca5f31b7c6a865629 b/c8/2d4563d6b1a49f85a781eca5f31b7c6a865629
new file mode 100644 (file)
index 0000000..5382747
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <five9a2@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id BC6C2431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 10:38:29 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id lzzwsllODf5j for <notmuch@notmuchmail.org>;\r
+       Thu, 26 Nov 2009 10:38:29 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224])\r
+       by olra.theworths.org (Postfix) with ESMTP id 63634431FBC\r
+       for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 10:38:29 -0800 (PST)\r
+Received: by bwz24 with SMTP id 24so756517bwz.30\r
+       for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 10:38:27 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=domainkey-signature:received:received:sender:from:to:cc:subject\r
+       :in-reply-to:references:date:message-id:mime-version:content-type;\r
+       bh=Zgx9rQtzFOntmw7D8+mZMpFzs0r2/5O740A+/yPUMcU=;\r
+       b=mW/h7WpxaOMPeNFI08c5Pxn2ZcN2DvKp5fNvpaQM/IFRQq3T0/UrwO5yMT7ICy8xT0\r
+       rJeR1+vSBlM7+2AHmW7uMVXOw1wPfbuqJGZ8TWWWe1nHKVRXyGQ+fmp7m4KvZoDFGHZJ\r
+       5L6/HE96cR09c7zkM4x6h6CtlWh+Z4880A3MU=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+       h=sender:from:to:cc:subject:in-reply-to:references:date:message-id\r
+       :mime-version:content-type;\r
+       b=PDx8aZW/qVHaAcDduaFfWQ7XgCQ7LwdTfy0JDfhuE52fSkgKPKqyek5uA1CDmaWyNJ\r
+       cDqKDjNSF4U2cNZvHkeSvZR4sqN9jyJM02jMVaFsr5wIrggoT2QfWoG0kjVkpyJtS93x\r
+       uyvQAdpMdwRUwLOcDTElu4yiWAmP9us7o2wbY=\r
+Received: by 10.204.162.143 with SMTP id v15mr103223bkx.50.1259260707565;\r
+       Thu, 26 Nov 2009 10:38:27 -0800 (PST)\r
+Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])\r
+       by mx.google.com with ESMTPS id h2sm1278825fkh.2.2009.11.26.10.38.25\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Thu, 26 Nov 2009 10:38:26 -0800 (PST)\r
+Sender: Jed Brown <five9a2@gmail.com>\r
+From: Jed Brown <jed@59A2.org>\r
+To: Carl Worth <cworth@cworth.org>, Tassilo Horn <tassilo@member.fsf.org>,\r
+       Mikhail Gusarov <dottedmag@dottedmag.net>\r
+In-Reply-To: <871vjlrv8b.fsf@yoom.home.cworth.org>\r
+References: <87ws1hldmu.fsf@thinkpad.tsdh.de>\r
+       <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag>\r
+       <876391l2si.fsf@thinkpad.tsdh.de> <87vdh1472z.fsf@59A2.org>\r
+       <871vjlrv8b.fsf@yoom.home.cworth.org>\r
+Date: Thu, 26 Nov 2009 19:39:01 +0100\r
+Message-ID: <873a41dtbu.fsf@59A2.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location\r
+ contains symlinks\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 26 Nov 2009 18:38:29 -0000\r
+\r
+On Thu, 26 Nov 2009 10:34:12 -0800, Carl Worth <cworth@cworth.org> wrote:\r
+> I'm a little confused here. Notmuch only uses stat, so it should be\r
+> looking at the target's mtime already. It actually takes special effort\r
+> (via lstat) to get at the mtime of the link itself.\r
+> \r
+> So why aren't things just working?\r
+\r
+Because mtime doesn't change on the directory *above* the symlinks.\r
+\r
+I think.\r
+\r
+Jed\r