[exim-dev] [Bug 2916] dsearch erroneously requires read perm…

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 2916] dsearch erroneously requires read permission
https://bugs.exim.org/show_bug.cgi?id=2916

--- Comment #8 from Martin Kealey <from-exim-bugzilla@???> ---
I take your point about filter=nodots.

It's worth noting that POSIX says that the getdents syscall may or may not
return the "." and ".." entries, so the old code would not have reliably
returned them.

So I would suggest that the onus should be reversed: the "." and ".." entries
should be excluded by default, and only accepted if "filter=allowdots" is
specified (or "filter=dir", if we insist on backwards compatibility).

That is, when you don't filter by type, the values "." and ".." should be
hidden, as they currently are with "filter=subdir".

--
You are receiving this mail because:
You are on the CC list for the bug.