-
Notifications
You must be signed in to change notification settings - Fork 842
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
CIFS / symbolic links #2144
Comments
I'm having the same issue and this is important for me :( |
I hit this trying to do web development where I am using
I imagine I'd get the same problem with [paths removed because they're irrelevant] |
I access a shared folder on Windows using a Linux VM. |
Adding @SvenGroot to see if he can help out here. |
There seem to be two different issues in this thread. The original poster is talking about creating symbolic links on an SMB shared mounted on real Ubuntu Linux with CIFS. SMB does allow the creation of NT symbolic links, but they can't be followed after creation using the default security policy (which I believe can be turned off, but in that case the links are followed on the server, which is very different than how Linux symlinks behave on network shares). SMB does not support creating the type of symbolic links that DrvFs in WSL uses, and that's not something I expect will change in the near future. @davidmaxwaterman is describing a different problem, namely that WSL symlinks can't be followed by regular Windows applications. This is a problem we are looking at addressing in the future. |
@SvenGroot: Concerning symlinks on SMB share -
|
I was talking about NT symbolic links, created with "mklink" from the Windows Command Prompt. I don't think you can create those with CIFS. |
On recent WSL (1) this works perfectly. I can create (soft) symlinks on native file system and on the *nix file system without any issues. |
Your Windows build number:
Microsoft Windows [Version 10.0.14393]
What you're doing and what's happening:
Working symbolic link is created.
A Windows shared folder is mounted in an Ubuntu system (CIFS).
Creating a symlink inside the mounted shared folder fails.
Can support for symbolic links over network enabled in the new Windows Subsystem for Linux?
CIFS supports Unix Extensions for supporting symbolic links among other Unix typical features.
The text was updated successfully, but these errors were encountered: