Vagrant modifying the Owner/Group when mounts synced folders
Modifying the Owner/Group
By default, Vagrant mounts the synced folders with the owner/group set to the SSH user. Sometimes it is preferable to mount folders with a different owner and group. It is possible to set these options:config.vm.synced_folder "src/", "/srv/website",
owner: "root", group: "root"
https://www.vagrantup.com/docs/synced-folders/basic_usage.html
Comments