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
NAS drives either don't work at all or are replaced by UNC paths on Windows #6461
Comments
Agreed. UNC on Windows is an issue. We'd love to have a PR to support this better. |
The problem seems to be that Nushell uses the dunce crate to get rid of UNC (at least in some places):
There is an open bug report which, once fixed, would (seemingly) solve this issue, but it has been open for quite some time: |
Maybe someone should fork it and fix it finally. |
According to the source code, it could be sufficient to just adapt the |
This dunce issue has just been closed but unfortunately no fix. Looks like author has abandoned it. |
Indeed. That leaves no (obvious) other choice than what I proposed above. :-/ |
dang, someone should just fork it and fix it. then we can repoint ours there. |
This should be partially fixed by #6824 (part of the upcoming Nushell v0.71 release).
|
Yeah, |
Confirmed. As far as it concerns my original ticket, I consider this fixed... :) |
Describe the bug
Not quite a duplicate of (but related to) bug #686 which was closed for no technical reason: On Windows 11 at least,
cd \\<NAS>
will have the wrong results, leading to Nushell not being able to actually use the network drive.Real-world example (my NAS is named "datengrab"):
Using a subdirectory "works" though:
The
?\UNC\
part leads to further issues, as most software considers the path as invalid. In fact, even NuShell itself can't use it:It all works fine in cmd and PowerShell.
How to reproduce
Expected behavior
I expected NuShell to behave just like most other Windows utilities and not use
\\?\UNC
paths.Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: