title: Vagrant Error: symlink has no referent
body: <p>I'm struggling with old bug/error, I'm listed a lot of possible solutions, but with no result for me.
  I have a Virtual Box and Vagrantfile:</p>
  
  <pre><code>Vagrant.configure("2") do |config|
    config.vm.box = "debian/jessie64"
    config.vm.network "private_network", ip: "192.168.56.101"
    config.vm.synced_folder "../mysite.local", "/code/mysite.local", type: "virtualbox"
    config.vm.provider "virtualbox" do |vb|
    vb.memory = "2048"
    end
  end
  </code></pre>
  
  <p>It was ok until I created the symlinked folder. So when I type <code>vagrant up</code> it throws an error:</p>
  
  <pre><code>==&gt; default: Checking if box 'debian/jessie64' is up to date...
  ==&gt; default: Clearing any previously set network interfaces...
  ==&gt; default: Preparing network interfaces based on configuration...
  default: Adapter 1: nat
  default: Adapter 2: hostonly
  ==&gt; default: Forwarding ports...
  default: 22 (guest) =&gt; 2222 (host) (adapter 1)
  ==&gt; default: Running 'pre-boot' VM customizations...
  ==&gt; default: Booting VM...
  ==&gt; default: Waiting for machine to boot. This may take a few minutes...
  default: SSH address: 127.0.0.1:2222
  default: SSH username: vagrant
  default: SSH auth method: private key
  ==&gt; default: Machine booted and ready!
  [default] GuestAdditions 5.1.31 running --- OK.
  ==&gt; default: Checking for guest additions in VM...
  ==&gt; default: Configuring and enabling network interfaces...
  ==&gt; default: Rsyncing folder: /Users/user/code/sandbox/mysite.local/ =&gt; /vagrant
  There was an error when attempting to rsync a synced folder.
  Please inspect the error message below for more info.
  
  Host path: /Users/user/code/sandbox/mysite.local/
  Guest path: /vagrant
  Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2222 -o LogLevel=FATAL  -o ControlMaster=auto -o ControlPath=/var/folders/kh/sp8l6c0d1s3_jqkv6cv2jzlw0000gn/T/ssh.832 -o ControlPersist=10m  -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i '/Users/user/code/sandbox/mysite.local/.vagrant/machines/default/virtualbox/private_key'" "--exclude" ".vagrant/" "/Users/user/code/sandbox/mysite.local/" "vagrant@127.0.0.1:/vagrant"
  Error: symlink has no referent: 
  "/Users/user/code/sandbox/mysite.local/web"
  rsync error: some files could not be transferred (code 23) at 
  /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-
  52/rsync/main.c(996) [sender=2.6.9]
  </code></pre>
  
  <p>What I need to do to fix that issue?</p>