gael-ian / vagrant-bindfs

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

new version breaks compatibility with old vagrantfiles #15

Closed igor47 closed 10 years ago

igor47 commented 10 years ago

given the following configuration:

config.bindfs.bind_folder nfs_src, local_src, :'chown-ignore' => true, :'chgrp-ignore' => true

version 0.3.0 of this plugin seems to generate this command:

bindfs --force-user='vagrant' --force-group='vagrant' --perms='u=rwX:g=rD:o=rD' --chown-ignore --chgrp-ignore

unfortunately, thebindfs command does not accept a force-user option on my machine (ubuntu 12.04 with bindfs version 1.9).

as a workaround, i've asked people in my organization to install this plugin like so:

vagrant plugin install vagrant-bindfs --plugin-version 0.2.4

i saw some chat about mapping proper options to proper versions of bindfs. is someone working on that? it looks like the correct option in my case is --user or --owner-user instead of --force-user (likewise for force-group) but i haven't investigated what other incompatibilities exist.

gael-ian commented 10 years ago

I'm working on that and try to fix it as soon as possible.