Because of my messy way of executing scripts in provisioning (there are reasons, mostly related to still learning how to provision in Vagrant), users cannot pull the repositories we have already cloned:
$ git pull
error: cannot open .git/FETCH_HEAD: Permission denied
The workaround is to run sudo chown -R vagrant ., but I should fix it from its root.
Because of my messy way of executing scripts in provisioning (there are reasons, mostly related to still learning how to provision in Vagrant), users cannot pull the repositories we have already cloned:
The workaround is to run
sudo chown -R vagrant .
, but I should fix it from its root.