gael-ian / vagrant-bindfs

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

multiples user:group in a single synced folder #51

Closed jujes closed 8 years ago

jujes commented 8 years ago

Hi, someone know how config bindfs to keep multiples user:group in a single synced folder? in my case: /home/vagrant/dpl here my work environment

host ubuntu 16.04
guest ubuntu 16.04
vagrant-vbguest
vagrant-bindfs
...
config.vm.synced_folder "../dpl", "/home/vagrant/sync", type: :nfs
config.bindfs.bind_folder "/home/vagrant/sync", "/home/vagrant/dpl",
....
virtualbox > vagrant > docker
docker create multiple user:groups as it need...
main
root:root

mysql
vboxadd:vboxsf

content
www-data:www-data

thanks in advance,

gael-ian commented 8 years ago

Hi,

I never encounter this kind of problem before but Linux ACL looks like a way to deal with it. It seems that Fuse supports them and so bindfs (via the '-o' argument) but you'll have to try to be sure.

I close this issue as it's not related to vagrant-bindfs. It's more a sysadmin problem.

Thanks.