Trying to use the NFS
plugin with a synced folder in Vagrant, and it is working, except that in the guest (VM) the permissions are wrong:
-rw-r--r-- 1 501 dialout 0 Jan 20 00:51 a
-rw-r--r-- 1 501 dialout 0 Jan 20 00:51 foo
I tried setting up the uid
and gid
according to the Vagrant documentation in the Vagrantfile
:
config.nfs.map_uid = 1001
config.nfs.map_gid = 1001
Which I was hoping would use the correct user/group in the guest, but it is still using 501
and dialout
.
Any ideas?
:mount_options => ["dmode=777", "fmode=666"]
in your sync_folder configuration ? – Soapberry