If you are using Vagrant to manage VM’s for WordPress development, you’ll know that by default auto-updates of core and plugins do not work. This is because the VM’s shared folders are not writable by the web server. This is a simple thing to fix, though. Open up your Vagrant file and add the following to your config.vm.synced_folder
line:
:mount_options => ["dmode=777", "fmode=666"]
So, if your config.vm.synced_folder
line looked like this before:
config.vm.synced_folder "./", "/var/www", id: "vagrant-root"
Change it to this:
config.vm.synced_folder "./", "/var/www", id: "vagrant-root", :mount_options => ["dmode=777", "fmode=666"]
Then reload your VM for the change to take effect:
vagrant reload