I don't know why the install script can't just do all the CHMOD settings it self. I know in Perl language you can write the script to set CHMOD and I am sure you can do it in PHP.