Search code examples
tomcat8temp

What is the purpose of safeToDelete.tmp file in the temp dir in Apache Tomcat 8.5.40?


I am using Apache Tomcat 8.5.40 and there is a temp directory and safeToDelete.tmp file 0KB in it. What is this file used for?


Solution

  • It's a marker file used to ensure that the directory gets created by file archive creator/extractor programs that may otherwise skip empty directories.