-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
on Windows host/Linux guest symbolic link is generated with backslashes #6024
Comments
Please fix this asap. Have you a workaround for this? We need this to develop our software Thanks a lot VirtualBox 4.8.x |
Same here. This is a very critical issue! |
If you downgrade to VirtualBox 4.3.30 symlinks works again. I noticed the weird backslashes in version 5.0.0 Windows 10 |
Thanks for pointing this out. Can someone confirm this? For me only version 5 of VirtualBox works on on Windows 10, but with weird backslashes.. |
We will test this |
Host-only nic and symlinks are broken in Virtualbox 5.0.0. VirtualBox 4.3.30 installs fine on Windows 10, have not had any issues yet. |
Hi guys, Same error here. How to reproduce: Install software Start software
-logged in the VM :
Issue I also find the Filesystem type to be strange in df output
Maybe it is link... I will try to downgrade to VB < 5 and update the ticket when I have some time. Thx. |
I confirmed it is OK after downgrade to VB 4.3.30 |
We have a developer with older version 4.3.26. It will work fine too. |
Don't know if it's related to this problem, but I think it fits. I'm using Vagrant 1.7.4 with ubuntu/trusty64 as guest on a Windows 10 host with Virtualbox 5.0.2r102096. It got the I'm doing the following:
(the Now I check the content of the directory:
(which is colored in red). When I check the symlink directly:
|
I am also on Win 10 and downgraded to VB 4.3.30 now. Creating symlinks does not work for me at all ("protocol error") unless I run the command line "as Administrator" and then vagrant up, basically as described here http://www.ahtik.com/blog/fixing-your-virtualbox-shared-folder-symlink-error/ Is that normal behavior or is there a way to do this without admin rights? Should I create a separate issue? |
Virtualbox just released a fix for this issue and it is working now, you need to download and install this test build https://www.virtualbox.org/download/testcase/VirtualBox-5.0.3-102224-Win.exe |
Running now VB build 102322. Works yes and no (or I'm making a mistake). Creating a symlink with relative path
does not work. It produces a protocol error. Creating a symlink with absolute path
does work. |
I see the same thing. It was an upgrade from 5.0.2 (pretty sure but not positive) to 5.0.4 where things broke. This is a pretty big issue for me; I have a huge chunk of software that doesn't build because of this. It's way too much software to try and go in and tweak this. |
seeing @simonknittel's problem too - with 5.0.4 on linux host and guest relative paths are broken, absolute paths work fine, nothing to do with backslashes as far as i can see though, gives protocol error not permission denied. its not a vagrant problem though is it, its a virtualbox one. |
It seems to be fixed with VBox 5.0.6 |
David VL |
This is a bug with VirtualBox and not Vagrant. Please read other comments to note working VirtualBox versions! |
It seems that it still fails on VirtualBox 5.0.10 as well. I guess I will need to rebuild the vagrant box with Packer |
for me symbolic link work flawlessly inside synced folders with the following windows host setup: Host OS: Windows 10 1511 Guest OS: ubuntu/vivid64 (make sure you use a guest linux with kernel version > 3.18!) They key was to use smb for mounting the synced folder, enforcing SMB 3.02 and enabling mfsymlinks:
Additionally we should get better speeds with enforcing SMB 3.02 over SMB1 (which is used as default), but I have not made detailed measurements yet. Node.js now works flawlessly and fast inside my boxes. |
I found a solution to allow creating symbolic links on a shared folder in linux client when host is windows. |
To fix this issue:
No need to add freeware rinkydink software to your build process. |
Thank you @g105b - this resolved the issue completely for me. |
If you don't want to change Local Security Policy, you can follow these step to create the symbolic links.
|
Thanks @Sadegh-Ameri, this works for me. |
Run VirtualBox as an administrator every time? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I use simple
Vagrantfile
Running
I see
Backslashes is a problem here as I understand. This symbolic link is not usable.
VirtualBox 5.0.0
Vagrant 1.7.4
The text was updated successfully, but these errors were encountered: