Which code exactly you use to create directory? -----Original Message----- From: raga2 [mailto:ragabo...@gmail.com] Sent: Friday, April 03, 2009 2:44 PM To: users@tomcat.apache.org Subject: Re: Which user executes JSP in Tomcat?
Thanks guys for the reply. ps -aef tells me it's root running tomcat. I'm using tomcat 5.5 and Java 1.5.0 Update 16. If it's root running, then why doesn't the directories get created anywhere? Something I'm doing wrong. Thanks for your replies again. Pid-2 wrote: > > raga2 wrote: >> Hello, >> >> Running tomcat on linux. I've written a simple JSP script to create a >> directory and a file. When I run it via tomcat, the code runs fine, >> no errors, but the directory nor the file get created where I >> specified. I have a feeling it's some sort of permission issue. Any >> help is welcome, pretty new to Tomcat. >> >> >> >> Thanks, >> Raga > > type "ps -aef | grep java" > > you should see which user tomcat is running under. > > p > > > p.s. Usually helpful to inlcude Tomcat version, java version etc in > your post. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Which-user-executes-JSP-in-Tomcat--tp22865557p22866000 .html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org