title: Vagrant synced folder options
body: <p>What is the best method for implementing Vagrant NFS "synced folders" between host and VM?</p>
  
  <p>I was finally able to get NFS working, in general, but it required several tweaks within the VM; and I'm not sure how to automate those changes for others to use.</p>
  
  <p>Specifically, I have to modify the UID/GID in /etc/passwd and /etc/group to match those of the user/group of the exported filesystem.  (e.g. host machine uses 502:20, VM apache user must be set to use 502:20 as well)</p>
  
  <p>Without this change, I have all kinds of permission/ownership issues that prevent the web app from running.  With the UID/GID matching, everything works great.</p>
  
  <p>I've read all the docs I could find, including the Vagrant web site.</p>
  
  <p>As a side note: I also tried native folder sync (painfully slow) and rsync (100% CPU... unusable)</p>
  
  <p>NFS seems like the winner for performance, but my setup is sketchy.</p>
  
  <p>If it makes any difference, I'm working with the following:</p>
  
  <ul>
  <li>Host: OS X 10.9.2</li>
  <li>Vagrant: 1.5.4</li>
  <li>Provider: VMware Fusion</li>
  <li>Box: chef/centos-6.5</li>
  <li>Dev app: Magento 1.8</li>
  </ul>