Unix filesystem privileges

Hi – We are running Tamino 4.2.1 on Solaris 8. The database datafiles, backup files and log files are being created with 666 permissions. Our security officer wants to have these files created with 640 permissions. if I set the umask in the .profile for the file owner to 026, the data files are still being created with 666 while the txt files are now 660. Is it possible to meet this requirement and if so any ideas?