Description: When EMS creates a new log file, it calls the "open" system call and sets permission on the file to 666. On *NIX, permission on new files that are created may be restricted by a permissions "umask". The effective permission of the new log file is "mode & ~umask".
Resolution
For example, run the following commands on Linux:
1). umask 000
2). Start EMS server.
3). In tibemsadmin, run:
rotatelog
A new EMS log will be created.
4). The permission on the new log file is 644.
On Linux, the default umask value is usually 0022 (022). You can write a new umask value in shell’s configuration file or in the /etc/profile file. Consult your System Administrator if needed.