Le 04/01/2020 à 16:06, Pham Huu Bang a écrit :

> Thanks for this link
> https://salsa.debian.org/java-team/tomcat9/blob/master/debian/README.Debian.
> But I cannot *read* the file from /tmp (not *write* file to /tmp). The
> strange thing is, it can read another file from another location, e.g in
> /opt/:

The tomcat9 service is configured with a private /tmp directory (using
the 'PrivateTmp=yes' systemd directive). So Tomcat can't see what other
applications write to /tmp, and temporary files written by Tomcat are
out of reach from the other applications.

This is a security hardening setting that can be overridden as described
in the README file Olaf mentioned.

Emmanuel Bourg

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

Reply via email to