From: Mathieu Baudier Date: Wed, 28 Mar 2012 11:40:25 +0000 (+0000) Subject: Make default execution ressources temp dir dependent of the JVM OS user, in order... X-Git-Tag: argeo-slc-2.1.7~756 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=7057e08d0ebd4d629522975308141116e0db495c;p=gpl%2Fargeo-slc.git Make default execution ressources temp dir dependent of the JVM OS user, in order to avoid authorization conflicts git-svn-id: https://svn.argeo.org/slc/trunk@5255 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/FileExecutionResources.java b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/FileExecutionResources.java index c85455ba9..155a75825 100644 --- a/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/FileExecutionResources.java +++ b/runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/FileExecutionResources.java @@ -39,8 +39,10 @@ public class FileExecutionResources implements ExecutionResources { public final static String DEFAULT_EXECUTION_RESOURCES_TMP_PATH = System .getProperty("java.io.tmpdir") + File.separator - + "slc" - + File.separator + DEFAULT_EXECUTION_RESOURCES_DIRNAME; + + "slc-" + + System.getProperty("user.name") + + File.separator + + DEFAULT_EXECUTION_RESOURCES_DIRNAME; private File baseDir; private ExecutionContext executionContext;