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

Inizio della pagina
Delete this message
Reply to this message
Autore: admin
Data:  
To: exim-dev
Oggetto: [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.