its happend after restart.

From Sept 12th onwards i am facing some problem in the file permission.
Normally the file get generated by a script with the permission 666 and
from sept 12th onwards it get changed to 644
If we create a blank file using touch command it is with the permission 666,
but the files which are generated through any program is of 644.

Checked the umask value in /sbin/rc and is default value 022. And nobody make
any change for this value for the past 2 years.

We had a server re-boot happen on sept 12th. But i am not sure that this is the
reason for file permission change.

HP-UNIX
model -9000/899
version - D

To get 666 you need a umask of 0. To get 644 you need a umask of 022. Type "umask" and see what you have. What shell are you using? What version of HP-UX? Probably someone changed your .profile file or whatever startup script your shell uses.

If u type umask in the command prompt it is showing as 00
the setting of umask in /sbin/rc is 022.
But this setting is not changed for the past 2 years. we are facing the problem since sept 12th 2004.
. profile also not modified for the past 1 year.
$ uname -a
HP-UX uapkb010 B.10.20 D 9000/800 1266844351 64-user license

Please suggest some solution to get rid of this problem..

Put "umask 022" in your .profile file.