Whenever I run a composer update any updated folders (e.g. framework, cms) are given 775 permissions, and their files 664, which I have read is a Git default (although I'm no linux expert). Our cPanel server runs suphp, which requires 755 and 644 respectively, so we get a 500 server error until manually changing all the permissions.
Is there any way that composer can preserve existing permissions, or be told which default permissions to use?