synced_folder creates empty folder

7 views
Skip to first unread message

Iván Barcia

unread,
Feb 5, 2018, 12:59:06 PM2/5/18
to Vagrant
Hi, I am a new user of Vagrant and I am trying to create a synced folder using the Customfile.

I see many internet links and I think that the config line is correct. Also when I run vagrant up it show up correctly when Mounting shared folders…. But when vagrant is up, the destiny folder is empty(Obviously, my origin folder has files 😅)

This is my config line in Customfile:

config.vm.synced_folder "/Users/ivan/Developer/mytheme/dist", "/srv/www/wordpress/public_html/wp-content/themes/mytheme", :owner => "www-data", :mount_options => [ "dmode=775", "fmode=774" ]

I have no idea what is wrong.


My Environment:

  • Vagrant version: 2.0.1
  • VM Provider: VirtualBox 5.2.6 r120293
  • Operating System and version: MacOS High Sierra 10.13.3
Reply all
Reply to author
Forward
0 new messages