On Thu, Mar 12, 2026 at 09:26:38AM +0900, David Bremner wrote: >Marc Haber <mh+debian-packages@zugschlus.de> 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 That might be the reason. my ignore is in the [user] section, right below the comment that documents the ignore option: [user] primary_email=mh+*@zugschlus.de # Configuration for "notmuch new" # # The following options are supported here: # # tags A list (separated by ';') of the tags that will be # added to all messages incorporated by "notmuch new". # # ignore A list (separated by ';') of file and directory names # that will not be searched for messages by "notmuch new". # # NOTE: *Every* file/directory that goes by one of those # names will be ignored, independent of its depth/location # in the mail store. ignore=lost+found # [new] # Search configuration # # The following option is supported here: # # exclude_tags # A ;-separated list of tags that will be excluded from # search results by default. Using an excluded tag in a # query will override that exclusion. # Duplicating the ignore line in the new section seems to fix the issue, so this remains just a "documentation" issue in the default generated configuration file. >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? No bind mounting, ext4, and a stupid /dev/disk/by-label/torres-mh_mail /home/mh/.mail ext4 nofail 0 2 line in fstab. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org