Marc Haber <[email protected]> writes:
>
> [1/4937]mh@torres:~ $ grep ignore .notmuch-config
> # ignore A list (separated by ';') of file and directory names
> # names will be ignored, independent of its depth/location
> ignore=lost+found
> [2/4938]mh@torres:~ $ notmuch new
> Warning: failed to open directory /home/mh/.mail/lost+found: Permission denied
> Found 3314249 total files (that's not much mail).
> Error opening directory /home/mh/.mail/lost+found: Permission denied
> No new mail.
> Note: A fatal error was encountered: Something went wrong trying to read or
> write a file
I'm a bit stumped, but here are a few ideas to try. All are
somewhat long shots.
1) I just uploaded 0.40 to trixie backports, so in a few days maybe you
could try that.
2) To double check for ignore being in the wrong section, can you please
run
$ notmuch config get new.ignore
3) Run notmuch new with --debug, it should chatter about what it is
ignoring.
4) Let me know what details you can about the partition ~/.mail. In my
experiments I ended up with a root owned mail_root, which did not seem
to bother notmuch, but it does seem a bit inconvenient. What is your
underlying filesystem? Is there bind mounting involved?