Recursive directory iterator tries to follow symlink on macOS #122
Labels
available on master
Fix is done on master branch, issue closed on next release
bug
Something isn't working
POSIX
POSIX type backend is affected
Milestone
Describe the bug
I am recursing over a directory with symlinks inside. These symlinks have no valid target though. Unfortunately when running over this with a recursive directory iterator, it throws with "No such file or directory" when incrementing the iterator.
To Reproduce
Downloading, unpacking and iterating over the contents of this file https://anaconda.org/conda-forge/mysql-libs/8.0.23/download/osx-64/mysql-libs-8.0.23-hbeb7981_1.tar.bz2 should lead to the same issue. It contains the missing symlinks mentioned above. I observed this on macOS only so far.
The STL implementation does not have this problem.
This came up in mamba: mamba-org/mamba#950
Expected behavior
I'd like the iterator to move to the next item.
The text was updated successfully, but these errors were encountered: