use /tmp for tmp file
authorkoutsoub <devnull@localhost>
Fri, 11 Feb 2011 11:26:35 +0000 (13:26 +0200)
committerkoutsoub <devnull@localhost>
Fri, 11 Feb 2011 11:26:35 +0000 (13:26 +0200)
src/gr/ebs/gss/server/webdav/milton/GssFolderResource.java

index 1184b3f..71e37e8 100644 (file)
@@ -378,7 +378,7 @@ public class GssFolderResource extends GssResource implements MakeCollectionable
        }
        @Override
        public LockToken createAndLock(final String name, LockTimeout timeout, LockInfo lockInfo ) throws NotAuthorizedException {
-               final File tmp =  new File("/home/kman/"+new java.util.Random().nextInt());
+               final File tmp =  new File("/tmp/"+new java.util.Random().nextInt());
                FileHeaderDTO kmfileDTO=null;
                try {
                        kmfileDTO = new TransactionHelper<FileHeaderDTO>().tryExecute(new Callable<FileHeaderDTO>() {