did you try revoking permisions on your local install to see if you get the
same error?

> -----Original Message-----
> From: Mike Whittaker [SMTP:[EMAIL PROTECTED]]
> Sent: 21 May 2002 03:25
> To:   [EMAIL PROTECTED]
> Subject:      file writing permissions
>
> Can't seem write this file:
>
> FileWriter fw = new
> FileWriter(getServletContext().getRealPath("/WEB-INF/classes")+"/ErrorLog.
> tx
> t", true);
>
> java.io.FileNotFoundException:
> /home/hotpud/beta/WEB-INF/classes/ErrorLog.txt (Permission denied)
>
>
>
> Works fine on my local tomcat just the hosts.  Is it really just a case of
> the host not allowing file writes, can't believe that.
>
> Have mailed the host but thought I'd cover all bases :)
>
> --
> Mike Whittaker
> http://www.hotpud.com
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
**********************************************************************
The Truworths e-mail facility may not be used for the distribution of
chain letters or offensive email.  Truworths hereby distances itself
from and accepts no liability for the unauthorised use of its e-mail
facility or the sending of e-mail communications for other than
strictly business purposes.  Truworths furthermore disclaims liability
for any unauthorised instruction for which permission was not granted.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to