tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed Akacem" <...@biba.uni-bremen.de>
Subject cannot create file in the temp directory of tomcat/Permission denied?
Date Thu, 14 Dec 2000 10:48:01 GMT
Hi,


my servlet failed to create a file in the temp directory of tomcat.
tempdir =
(getServletContext().getAttribute("javax.servlet.context.tempdir")).toString();

hier is an ouput:
tempdir=/usr/local/jakarta-tomcat/work/localhost_8080

hier is the Exception message I got:
 I can not  create the filejava.io.IOException: Permission denied
Context log path="" :getfileservlet1:  couldn't create the
filePermission denied
Context log path="" :getfileservlet1:
IOeX/usr/local/jakarta-tomcat/work/localh
ost_8080/To1016mC19342253663432762At.stl (Permission denied)

platform:Apache + tomcat +Linux
thanks for any help

Mohammed



Mime
View raw message