Bad error handling in fs::status for errors on the symlink target · Issue #107 · gulrak/filesystem · GitHub
Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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