https://issues.dlang.org/show_bug.cgi?id=12391
Andre Artus <andre.ar...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andre.ar...@gmail.com --- Comment #7 from Andre Artus <andre.ar...@gmail.com> --- I would really like to see either a complementary function, or a parameter, or any other solution to this problem. At the moment I have to maintain a parallel implementation of dirEntries. While I'm sure it exists for someone, I don't have a use case favouring the current behaviour. Most of my utilities where using dirEntries would be useful scan the full filesystem. I cannot even exclude these directories by name as the crash happens before I get the result. auto dFiles = dirEntries(path,"*.{d,di}",SpanMode.depth); foreach (d; dFiles) { // nothing happening here } std.file.FileException@std\file.d(4573): [Folder]: Access is denied. --