Hi,
That is because the servlets are running as a user configured in apache
httpd.conf file.(usually nobody)
Under Solaris every directory and file has an owner. Make sure that the
file
belongs to the user asa specified by apache.
You can use the chown and chmod command to change the ownere of the
files.
Hope it helps.
Best wishes,
Andras.
----- Original Message -----
From: Jin Woo Joo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 25, 1999 9:58 AM
Subject: file writing on jserv
> This is probably a simple problem due to my lack of familiarity with
apache.
> I'm trying to write a text file with my servlet, but I have problems
writing this file to most directories on the server. (Solaris running Apache
web server with jserv.) The only directory that I write to successfully is
the log directory of the server /usr/local/httpd/logs/.
>
> For this reason, I have a hunch this problem is due to some configuration
of apache, jserv, or java. It's clearly not the directory permissions. Can
someone point me in the right direction?
>
> jin
>
>
___________________________________________________________________________
> 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
___________________________________________________________________________
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