Bad error handling in fs::status for errors on the symlink target
gulrak opened this issue · 1 comments
gulrak commented
Describe the bug
The status result of symlinks to non-existing targets or targets that can not be accessed due to rights is wrong.
To Reproduce
Possible test path on Linux is /proc/1/task/1/cwd
Expected behavior
The error code should be set, file_type for symlinks to non-existing targets should be not_found
.