Symlinks and shared folders on VMWare Fusion on Developer VM

655 views
Skip to first unread message

Jesse Riggins

unread,
Mar 28, 2014, 5:12:28 PM3/28/14
to vagra...@googlegroups.com
Host: OS X Mavericks
Guest: Ubuntu 12.04

I'd like to be able to follow symlinks created in shared folders in my Linux guest.  However, it appears that I cannot.  Looking at this link there appears to be a workaround:

https://communities.vmware.com/message/2246525#2246525

In that post the suggestion is to set this in the vmx file:

sharedFolder0.followSymlinks = "TRUE"

So I tried that in my Vagrantfile config:

config.vm.provider "vmware_fusion" do |v|
  v.vmx["memsize"] = "620"
  v.vmx["numvcpus"] = "1"
  v.vmx["sharedfolder0.followSymlinks"] = "TRUE"
  v.gui = false
end

However when I do and then check the vmx, I see this (note casing and value):

sharedfolder0.followsymlinks = "FALSE"

Is this intended?  Is there a way that I can achieve the ability to follow symlinks?


As a broader question, I'm trying to share a source directory of Dart code such that I can edit in my host but run in the guest.  Unfortunately, Dart's dependency manager creates symlinks in order for the runtime to decipher dependencies.  Any suggestions on an alternative overall setup?  I use VIM and could just work 100% in the VM, but I'm trying to set something up that I can share with other devs and less technical people.

Thanks,
 Jesse

Jesse Riggins

unread,
Mar 31, 2014, 4:36:57 PM3/31/14
to vagra...@googlegroups.com
As an update, I've found that when I set followSymlinks to "TRUE" in a VMWare instance outside of Vagrant, I can follow symlinks in the guest.

Is it possible that this can be incorporated into Vagrant such that it can be configured via the vmx construct?

Thanks,
 Jesse
Reply all
Reply to author
Forward
0 new messages