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
Mount resource does not support spaces in Windows mount points #2276
Comments
We'll need the full backtrace |
I'm looking at it and will update -- turns out it may not be spaces, but the fact that we were traversing a reparse point on DFS share, and the permissions were... odd. If you mount the drive to a drive letter, you can't get list files permission on some directories (even with cmd.exe / powershell, no ruby involved). |
Windows team (@btm @jdmundrawala @ksubrama) - is this on the backlog? @charlesjohnson is this a blocker or just a bug you tracked down? |
Have not seen it on our backlog |
As this was several months ago I don't recall vividly, but it was a "bug we encountered while team programming at MS with a customer and @adamedx." I think @adamedx 's update is correct, in that it was a reparse point on the DFS share with odd permissions, but it would need further clarification. It's possible both odd permissions from reparse AND spaces were an issue. |
Yeah, I think we can just warn and doc -- the equivalent shell command of |
This is expected behaviour on Windows, so there's not an awful lot we can do here. |
Consider:
This resource will fail with 'ArgumentError: The network location cannot be reached.'
On the other hand, this will work:
The text was updated successfully, but these errors were encountered: