You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2020/05/10 13:07:56 UTC

[ant] branch 1.9.x updated: recommend using ant.tmpdir

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch 1.9.x
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/1.9.x by this push:
     new 926f339  recommend using ant.tmpdir
926f339 is described below

commit 926f339ea30362bec8e53bf5924ce803938163b7
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sun May 10 15:07:05 2020 +0200

    recommend using ant.tmpdir
---
 manual/running.html | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/manual/running.html b/manual/running.html
index b3815a7..f9124a2 100644
--- a/manual/running.html
+++ b/manual/running.html
@@ -551,6 +551,13 @@ on the platform and the JVM implementation.</p>
   use <code>java.io.tmpdir</code> unless they have been adapted to the
   changed API of Ant 1.9.15.</p>
 
+<p><b>Security Note:</b> Using the default temporary directory
+specified by <code>java.io.tmpdir</code> can result in the leakage of
+sensitive information or possibly allow an attacker to execute
+arbitrary code. This is especially true in multi-user environments. It
+is recommended that <code>ant.tmpdir</code> be set to a directory
+owned by the user running Ant with 0700 permissions.</p>
+
 <h2><a name="cygwin">Cygwin Users</a></h2>
 <p>The Unix launch script that come with Ant works correctly with Cygwin. You
 should not have any problems launching Ant from the Cygwin shell. It is