tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: Files, paths and permissions
Date Tue, 06 Jul 2004 21:21:08 GMT
On Tue, Jul 06, 2004 at 02:11:00PM -0400, J?r?me Duval wrote:
: Yet these lines of code in my servlet:
: 	File target = new File("\\\\Msi\\nouveau dossier\\","Commande.web");
: 	if(!target.exists()) {
: 		System.out.println("The file doesn't exist!");
: 	}
: 	FileWriter fileOutput = new FileWriter(target,true);
: 
: produce: The file doesn't exist!

Does the owner of the Tomcat process have write access to that folder?

If you're running Tomcat as a service, I understand it has different
perms than if you fire it up directly as the logged-in user.

-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