Changed app deployment scripts to set the appropriate permissions for
the updated vagrant env.
Merge branch 'v1' into v2