https://bz.apache.org/bugzilla/show_bug.cgi?id=63646
Bug ID: 63646
Summary: IOException when default CATALINA_TMPDIR directory
doesn't exist
Product: Tomcat 9
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Util
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
There will be an IOException when
createTempDirectory(Path,String,FileAttribute[]) is invoked if the directory
CATALINA_TMPDIR point to does not exist.
CATALINA_TMPDIR defaults to $CATALINA_BASE/temp and It seems that no one is
there to make sure the directory exists.
[1]
https://github.com/apache/tomcat/blob/b724612ef327f1e3c493de44b29ae24e1d757d0f/bin/catalina.sh#L43
[2]
http://hg.openjdk.java.net/jdk/jdk/file/f81dbe27a7b1/src/java.base/share/classes/java/nio/file/Files.java#l964
[3]
http://hg.openjdk.java.net/jdk/jdk/file/f81dbe27a7b1/src/java.base/share/classes/java/nio/file/TempFileHelper.java
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]