Skip to content

Commit

Permalink
Issue #5451 - Setting ServletContext temp dir to user private
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Oct 16, 2020
1 parent 91f4516 commit a23b01e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -508,7 +508,7 @@ public void makeTempDirectory(File parent, WebAppContext context)
else
{
//ensure file will always be unique by appending random digits
tmpDir = Files.createTempDirectory(parent.toPath(), temp).toFile();
tmpDir = Files.createTempDirectory(parent.toPath(), temp, IO.getUserOnlyFileAttribute(parent.toPath())).toFile();
}
configureTempDirectory(tmpDir, context);

Expand Down

0 comments on commit a23b01e

Please sign in to comment.