Skip to content

Bad error handling in fs::status for errors on the symlink target #107

@gulrak

Description

@gulrak

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.

Metadata

Metadata

Assignees

Labels

POSIXPOSIX type backend is affectedavailable on masterFix is done on master branch, issue closed on next releasebugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions