From 2b1e7946abd1d589fc69b758c68497458bbf0ecf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 23 Aug 2015 19:41:28 +0000 Subject: hopefully fix broken permissions for search We must preserve the umask for the entirety of the indexing operation, as Xapian transactions replace entire files atomically instead of writing them in place. --- public-inbox-mda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public-inbox-mda') diff --git a/public-inbox-mda b/public-inbox-mda index 8e98d6eb..c4822b61 100755 --- a/public-inbox-mda +++ b/public-inbox-mda @@ -88,7 +88,7 @@ sub do_spamc { sub search_index_sync { my ($git_dir) = @_; eval { - require PublicInbox::Search; + require PublicInbox::SearchIdx; PublicInbox::SearchIdx->new($git_dir, 2)->index_sync; }; } -- cgit v1.2.3-24-ge0c7