Java Management Tool log file permissions
Log files that are created by the Java™ Management Tools have the default file
permissions rw-rw-rw-
. You can change the log file
permissions by using the operating system's umask command
before you run the Java components.
For example, you can use the umask command
to change the file permissions as follows:
Command | Java Log File Permission |
---|---|
umask 2 |
rw-rw-r-- |
umask 22 |
rw-r--r-- |
To change the file permissions for all three logs, put the umask command in the DTX_HOME_DIR/bin/common.sh shell script.