If the problem is indeed a bad umask (which can be checked by running the umask command). It can be fixed by instructing sudo to override the umask, as described here:
http://unix.stackexchange.com/questi...ser-calling-it
Maybe I should add a check to the installer to detect a umask other than 022 and ask the user if they are sure they want to continue anyway.