gael-ian / vagrant-bindfs

A Vagrant plugin to automate bindfs mount in the VM
MIT License
482 stars 37 forks source link

win10 vagrant use the bindfs have problem. #45

Closed zerodeng1988 closed 8 years ago

zerodeng1988 commented 8 years ago

HI.I have some problem using vagrant-bindfs on win10.

My vagrangfile: config.vm.synced_folder "D:/vagrant_share/", "/vagrant_data",type: :nfs config.bindfs.bind_folder "D:/vagrant_db" ,"/vagrant_db",:owner => "mysql" ,:group => "mysql"

But,when i vagrant up ,it always post this error: default: Cannot bind source path D:/vagrant_db because it doesn't exist

Oh,i really sure that the dir is exist!

Need some help.....

gael-ian commented 8 years ago

Hi,

vagrant-bindfs can not bind directly an host directory in the guest VM. You have to share it first trought Vagrant synced_folder then rebind the guest mount point to another location inside the VM with permissions you want.

vagrant-bindfs README gives you some usefull examples.

Hope this helps you.