Thanks. I just tried out the command and got the list of users including
tomcat.
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp26160054p26194539.html
Sent from the Tomcat - User mailing list archive at Nabble.com
noobie45 wrote:
Thank you so much.
I am absolutely new to Tomcat on Linux.
I need to figure out what you mean by "user-id under which Tomcat runs".
Every process on Linux is ran by a certain user. With command "ps -ef",
you can list all the processes and users that run them (first column
fr
I used my ftp client (WinSCP) to change file permissions for the directory to
R,W,X for others and now I am able to write the file outside the Tomcat
directory.
Thanks again so much.
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory
Thank you so much.
I am absolutely new to Tomcat on Linux.
I need to figure out what you mean by "user-id under which Tomcat runs".
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp26160054p26180750.html
Sent from the Tom
The Tomcat is installed on my site under Debian. I think it's the standard
version with directories in the usual places.
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files-outside-tomcat-directory-tp26160054p26180125.html
Sent from the Tomcat - User mailing
noobie45 wrote:
I have an application whose class files are in
/usr/local/tomcat/webapps/ROOT/WEB-INF/classes
It uses the following line to write a file called java.php:
FileOutputStream fout = new FileOutputStream
("/usr/local/tomcat/webapps/ROOT/java.php", true);
It does this perfectly.
Wha
ow me to do this, apparently for
> security
> reasons. But security does not really matter for me because this
> application
> won't be open. How do I read and write files outside the home directory?
> --
> View this message in context:
> http://old.nabble.com/Reading-and-
Linux does not allow me to do this, apparently for security
reasons. But security does not really matter for me because this application
won't be open. How do I read and write files outside the home directory?
--
View this message in context:
http://old.nabble.com/Reading-and-writing-files