From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 3C776431FBC; Thu, 26 Nov 2009 13:14:37 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 HzAzIain3+Z0; Thu, 26 Nov 2009 13:14:36 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 884FE431FAE; Thu, 26 Nov 2009 13:14:36 -0800 (PST) From: Carl Worth To: Jed Brown , Tassilo Horn , Mikhail Gusarov In-Reply-To: <873a41dtbu.fsf@59A2.org> References: <87ws1hldmu.fsf@thinkpad.tsdh.de> <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag> <876391l2si.fsf@thinkpad.tsdh.de> <87vdh1472z.fsf@59A2.org> <871vjlrv8b.fsf@yoom.home.cworth.org> <873a41dtbu.fsf@59A2.org> Date: Thu, 26 Nov 2009 13:14:22 -0800 Message-ID: <87ljhtq98x.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org Subject: Re: Notmuch doesn't index new mails when mail location contains symlinks X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Thu, 26 Nov 2009 21:14:37 -0000 On Thu, 26 Nov 2009 19:39:01 +0100, Jed Brown wrote: > On Thu, 26 Nov 2009 10:34:12 -0800, Carl Worth wrote: > > I'm a little confused here. Notmuch only uses stat, so it should be > > looking at the target's mtime already. It actually takes special effort > > (via lstat) to get at the mtime of the link itself. > > > > So why aren't things just working? > > Because mtime doesn't change on the directory *above* the symlinks. > > I think. Then I'm still being really dense here. The non-propagation of mtime is the with actual directories. And the code is trying to do the right thing for that. So I still don't see what's being different with the symlinks. I should probably stop exposing ignorance here on the list, and just sit down with symlinks in a mail store and see what's happening. -Carl