diff --git a/src/common/FSNodeREGULAR.cxx b/src/common/FSNodeREGULAR.cxx index 8a5c356e2..feb02ef8b 100644 --- a/src/common/FSNodeREGULAR.cxx +++ b/src/common/FSNodeREGULAR.cxx @@ -128,10 +128,7 @@ bool FSNodeREGULAR::getChildren(AbstractFSList& myList, ListMode mode) const return false; std::error_code ec; - for (const auto& entry: fs::directory_iterator{_fspath, - fs::directory_options::follow_directory_symlink | - fs::directory_options::skip_permission_denied, - ec}) + for (const auto& entry: fs::directory_iterator{_fspath, ec}) { const auto& path = entry.path();