Qingyue Shirley Wang wrote:
>
>
> java.lang.IllegalArgumentException: Not writable:
> /local/src/ApacheJServ/servlets/access
>         at oreilly.MultipartRequest.(MultipartRequest.java:145)
>
> Can anyone please offer some suggestions?  Any help would be greatly
> appreciated!
>
> ~Shirley
I don't think that this is a java security problem, it's more of a unix
security issue. Apache generally runs as user 'nobody'. This user
doesn't have write permissions in most directories. You should either
use /tmp to do your temporary writing, create a directory owned by
nobody (ex /home/nobody) with permissions to write and create files, or
you should set ownership of /usr/src/local/ApacheJServ/servlets/access
to nobody whith create/write permissions. But this last option is
probably a bad idea security wise. I'd go with option1 or 2.

sven

--
-------------------------------------------------------------------------------------------
Sven E. van 't Veer                                                Afiliado
Universo Online
Gerente Desenvolvimento
Brasil Inform�tica e Telecomunica��es Ltda.
http://www.brvip.com.br
http://www.uol.com.br
-------------------------------------------------------------------------------------------

___________________________________________________________________________
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