Hi,

My JSP-code creates a new textfile. Local works this code perfect. But
when I place this on a host and JSP creates a new textfile, the owner
is Tomcat. The problem is that I don't have any permissions delete
this file or to change the permissions.

Is there a solution that I can give all permissions when I create a
textfile? Or can I change the owner?

this is the code that creates the textfile:
PrintWriter write = new PrintWriter(new BufferedWriter(new
FileWriter(path,true)));
write.println(Line);
write.close();


Karen