Hello, Excuse my delay in responding but I have been away. Ok, I tried your advice:
config.vm.synced_folder "data", "/var/www/foo", id: "foo", :mount_options => ["uid=1001,gid=1001"] But when I opened my "data" folder on my pc (host) and created a file, for example "calendar.php" the permissions of that file are thus: <https://lh3.googleusercontent.com/-1rUUhuHoaA8/Vn8SGcCQXDI/AAAAAAAAHU8/S9Ffwm4Cq68/s1600/Screenshot%2Bat%2B2015-12-26%2B22%253A17%253A47.png> I tried use id to the user ede or root, corresponding the users on my pc (host). And now, the uid and gid corresponding the user vagrant, user in my virtual machine: <https://lh3.googleusercontent.com/-Z44r5IWR8VE/Vn8SkfTyaCI/AAAAAAAAHVE/Bw-iVHw70aY/s1600/Screenshot%2Bat%2B2015-12-26%2B22%253A19%253A50.png> But, none of them worked. I don't understand one thing! When I accessed the IP of my guest (virtual machine) I execute the file on this machine how? Which the user accessed them? NOte: Excuse to my English, but I'm still learning :D Thanks -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/569a135f-a9aa-4656-b91a-54d815ed31b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
