file_put_contents(/srv/www/myproject.com/current/vendor/composer/installed.json): failed to open stream: Permission denied

Currently I’m trying to use the bedrock environment. But I’m getting errors when I use the command vagrant up

file_put_contents(/srv/www/myproject.com/current/vendor/composer/installed.json): failed to open stream: Permission denied

I have no idea what to do. I even changed the VagrantFile permissions.

I’m on a mac. Does anyone has a clue?

Never seen that error before. I’d make sure you have a recent Vagrant version and/or re-install it plus the plugin dependencies bedrock-ansible requires. Destroy the box and start it again.

Thanks for your reply, I’ve tried multiple times. Could it be a rights issue on Os X?