Setting folder permissions on NFS synced folders inside VM

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Setting folder permissions on NFS synced folders inside VM

Adam Duro
I'm unable to find any documentation on how to set the folder permissions on a synced folder inside a VM when the folder is being shared via NFS. I have tried the following:

config.vm.synced_folder "./Ace-CMS", "/opt/tennis-ace/current", :nfs => true, :owner => 'vagrant', :group => 'vagrant'

No luck. The folder is always created and owned by root.

Is it not possible to change these permissions on NFS sync'd folders?

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.