gael-ian / vagrant-bindfs

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

owner & group options broken since bindfs 1.12 #35

Closed akomm closed 9 years ago

akomm commented 9 years ago

--user and --owner options are deprecated:

https://github.com/mpartel/bindfs/blob/master/ChangeLog#L52-L58

Following error is raised on bindfs >=1.12 (assumed, tested with 1.12.3):

The bind command "bindfs --perms=u=rwX:g=rwX:o=rD --user=www-data --group=www-data /mnt/vagrant-index /var/www" failed to run!

Please check options values and compatibility. For a complete documentation,
run `sudo bindfs --help` on the VM.

Although one would expect it to continue work up until 1.13, it does not. The new option names are --force-user and --force-group

edit I see it is actually not an issue of vagrant-bindfs, rather a user of this plugin (puphpet). You can set the options here 1:1 as you would using bindfs via command line.

closed for this reason.