Re: search: exit code 1 when running as www-data user

Subject: Re: search: exit code 1 when running as www-data user

Date: Sun, 25 Oct 2026 16:38:04 -0300

To: Christian Weiske, notmuch@notmuchmail.org

Cc:

From: David Bremner


Christian Weiske <cweiske@cweiske.de> writes:

>
> When I don't set hook_ and backup_dir, a missing $HOME variable is
> enough to stop notmuch.
>
> When I set both config variables, notmuch does not care about a missing
> $HOME.
> I wonder why that is; both hook and backup dir are automatically
> inside database.mail_root (or database.path) and don't need home at all.
>

By the way, can you reproduce the problem without using two different
users, but just by manipulating the environment? For automated testing,
using su is not possible, and I'd like to have test that demonstrated
the (hypothetical?) bug.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: