Ok, getting there. Now we need to change the default umask setting for Magento to ensure that Magento uses group inheritance. We need to edit Magento’s default index.php file. Change the umask(0); setting to 022, like so…