-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wslpath no longer resolves symlink directories #4078
Comments
Thanks for filing, you are correct - my fix for #3999 will also fix this since wslpath uses the same path translation functionality. |
Actually, looks like I need one other minor tweak to my fix. It seems like wslpath should probably have a flag to determine if symlinks are followed or not, probably an opt-out since the original behavior was to follow them. |
TODO: remove once microsoft/WSL#4078 is resolved
I don't have anything particularly useful to add, but I just wanted to confirm whether this issue is the reason I can't access symlinks in my Linux roof FS from explorer.exe? |
microsoft/WSL#4078 is now resolved
Your Windows build number: (Type
ver
at a Windows Command Prompt)Does not work in: Microsoft Windows [Version 10.0.18362.113]
Does work in: Microsoft Windows [Version 10.0.17134.765]
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Not working in
10.0.18362.113
Working in
10.0.17134.765
Note that
\\wsl$\Ubuntu\home\joe\foobar
is not a directory,\\wsl$\
treats directory symbolic links as files.This is potentially related to #3999? #3999 was introduced in the same version change.
wslpath
should behave the way it previously did, and support resolving symbolic links. Even if they're not the target.My expectations are that
wslpath -w
does what's required to resolve to a valid Windows path.some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).Please let me know if this is required.
The text was updated successfully, but these errors were encountered: