https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94900
--- Comment #1 from Ton van den Heuvel <tonvandenheuvel at gmail dot com> --- I found that specifying `std::filesystem::directory_options::skip_permission_denied` does list all entries for `recursive_directory_iterator`. I no longer think this is a bug; the directory iterator stops iteration once it tries to access an unreadable directory. Sorry for the noise.