Tomcat Lucce Permission 640 instead of 644
For a project with an upload, I had a permission problem. Lucce set the file permission to 640 after an upload, which in my case led to a „ Permission denied“ .
I decided to implement the UMASK in Tomcat.
In the file:/tomcat/bin/catalina.sh
the value:UMASK="0027"
to:UMASK="0022"
Tomcat/Lucce writes folders with 755 and files with 644 now.