I have an application that creates the log files and they created with 600 permissions instead of 644(default). How can I set the permissions so that files can be created with 644. I looked into the /etc/profile for the umask settings and it is set 002(if UID>199).
Also when I login with root and create file manually, it creates with 644. Could some one help me out . Thanks.