Fix Magento permissions

I use this vagrant env when developing for my Magento extension. When I tried to create a package for my Magento extension, the tgz file was not being created. Also, when going to the extension manager it complained about permissions.

This PR fixes it.