----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
Apache+Jserv is running on a Linux box ?
If yes:
Take a look in the httpd.conf file under wich user
the Apache (and Jserv) is running, usually nobody.
Set the owner of the file (directory) You ar writing to to that user
with:
chown user:group filename
ex. chown webmaster:webmaster index.html
or chown webmaster:webmaster htdocs/
Hope it helps.
Best wishes,
Balogh Andras - [EMAIL PROTECTED]
GraFX http://www.grafx.ro
Tel/Fax: 065-250660
----- Original Message -----
From: Barrie Selack <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 02, 2000 3:46 PM
Subject: Servlet can't create file
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> I read the FAQ and a whole lot more and I may have missed this. I am
> SURE I have something configured wrong.
>
> I have a servlet which creates a file (under JRun on NT) but causes a
> Java File IO error under Apache/JServ. I'm pretty sure it's a
> permission related problem.. but I can't seem to track it down .. and
> suggestions ?
>
> Thanks,
>
> Barrie Selack
> ------------------------------------------------------------------------
>
> Rockhopper Communications, Inc. [EMAIL PROTECTED]
> 280 Pleasant Hill Road http://www.rockhopper.com/
> Lewisberry, PA 17339 717 938-1581
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]