tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: File.mkdirs() don't work if started with jsvc
Date Fri, 16 Jul 2004 17:50:20 GMT
On Fri, Jul 16, 2004 at 02:45:27PM -0300, Horacio de Oro wrote:
: I was trying File.mkdirs() on Tomcat 5.0.25 on Debian Woody, and I can 
: say File.mkdirs() don't work if Tomcat is started with jsvc.

Step 1: perms issue?


:         String fileName = "/tmp/test/" +
:                     System.currentTimeMillis() +
:                     "/test/afile.txt";
: 

Step 2: I don't recall, offhand, whether mkdir() will create a full path
of directories, filling in nonexistent ones as you go.

What about

	fileName = "/tmp/test/"

?


-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message