https://bugs.exim.org/show_bug.cgi?id=2916
Bug ID: 2916 Summary: dsearch erroneously requires read permission Product: Exim Version: N/A Hardware: All OS: All Status: NEW Severity: bug Priority: medium Component: Lookups Assignee: unalloca...@exim.org Reporter: from-exim-bugzi...@kurahaupo.gen.nz CC: exim-dev@exim.org Further to Exim-dev Digest, Vol 216, Issue 5 I normally set directory permissions to "drwx--x--x" or "drwx--x---"; scan/exec access without read access, but this breaks the dsearch lookup. The comment above dsearch_open says "We open the directory to test whether it exists and whether it is searchable", but that's not actually true, because "readable" and "searchable" are two different things. The dsearch_open function calls exim_opendir and then fails because the directory lacks 'r' permission, even though when it succeeds it immediately closes the dir fd as unneeded. I have prepared https://github.com/Exim/exim/pull/87 which addresses this, and makes some related improvements. Suggestions and feedback would be much appreciated. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##