Hello,
today I was struggling with the umask on ubuntu and tomcat.

The normal way to do it in systemd is:

[Service]
UMask=0022

Unfortunately, this didn’t work and it took me a while to figure out, that 
Catalina.sh
is overwriting the umask with 0027 if no env-variable was set.
So for tomcat, I needed to set:
Environment='UMASK=0022'

Is there any reason, why tomcat has some unexpected logic which overrides the 
systemd settings?

Thanks! Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to