Vagrant symlink protocol error inside synchronized folder using relative path

I am trying to create a vanilla guest box ubuntu/trusty64with symbolic links using the relative path on the ubuntu host.

> mkdir -p tmp1/tmp2
> mkdir -p tmp1/tmp3
> vagrant init ubuntu/trusty64

Inside the newly created Vagrantfile, add folder synchronization:

...
config.vm.box = "ubuntu/trusty64"
config.vm.synced_folder File.expand_path("~/tmp1"),
                                         "/home/vagrant/tmp1",
                                         :create => true
...

Then bring the box and ssh to it:

> vagrant up
> vagrant ssh

Then cdinto the directory tmp2and try to create a symbolic link to tmp3:

> cd tmp1/tmp2
> ln -s ../tmp3 test
ln: failed to create symbolic link β€˜test’: Protocol error

Version Information:

> vagrant version
Vagrant 1.7.4
> vboxmanage --version
5.0.4r102546

Has anyone seen this before?

+4
source share
3 answers

This is a known issue in Virtualbox 5.0.4. See error report

, Mac OSX . , Arch linux . Virtualbox 5.0.2, , , , Virtualbox 5.0.5, .

0

homestead Windows 10. , ( ).

0

5.2.6

2.0.1

10

(ln: ... ) " " drafter-install

( , -)

cmd " "

  • vagrant up
  • vagrant ssh
  • cd dir

,

0
source

Source: https://habr.com/ru/post/1608602/


All Articles