Re: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks

Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks

Date: Thu, 26 Nov 2009 19:39:01 +0100

To: Carl Worth, Tassilo Horn, Mikhail Gusarov

Cc: notmuch@notmuchmail.org

From: Jed Brown


On Thu, 26 Nov 2009 10:34:12 -0800, Carl Worth <cworth@cworth.org> 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.

Jed

Thread: