Depends on where you set it, and how the application is started.
It also depends on whether the application sets its own access mode when it opens/creates the log files. Also, if it just appends to a log file, then whatever access modes set on the existing file will be used.
Normally, the umask would be set in a users bashrc/profile file. In this case, it only takes effect when the user logs in.
Last edited by jpollard; 06-29-2016 at 09:29 AM.
|