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/Lucce writes folders with 755 and files with 644 now.