JAVA-085 / Intermediate
Creating temporary files with fixed names in /tmp
Why is this a problem?
Predictable names can be claimed in advance, and files belonging to other users may be overwritten.
How to fix it
java
Path p = Files.createTempFile("rpt_", ".csv", PosixFilePermissions.asFileAttribute(
PosixFilePermissions.fromString("rw-------")));