Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-11-02 Thread David Pashley
On Nov 02, 2007 at 13:48, Marcus Better praised the llamas by saying: The problem should be alleviated if we fix #418826, right? I think it would certainly help. Depends if the servlets are trying to write to $CWD or to $CATALINA_HOME. I think we should fix 418826 and then close this bug as

Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-11-02 Thread David Pashley
On Nov 02, 2007 at 12:50, Armin Fuerst praised the llamas by saying: Servlets should get the temp dir location from the servlet context if they need to write temporary files. Trying to create files in the current dir is very broken AFAICT, so I don't see that this is a Tomcat bug.

Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-11-02 Thread Marcus Better
The problem should be alleviated if we fix #418826, right? Marcus ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-11-02 Thread Armin Fuerst
David Pashley wrote: On Nov 02, 2007 at 12:50, Armin Fuerst praised the llamas by saying: Servlets should get the temp dir location from the servlet context if they need to write temporary files. Trying to create files in the current dir is very broken AFAICT, so I don't see that this is a

Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-04-12 Thread Armin Fuerst
Package: tomcat5.5 Version: 5.5.20-2 After we installed tomcat5.5 the directory /var/lib/tomcat5.5 belonged to root. For our needs, it would be better if the owner is the tomcat-user. It is simple to change, but why does it belong to root by default? Is this a security issue? Armin

Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-04-12 Thread Marcus Better
After we installed tomcat5.5 the directory /var/lib/tomcat5.5 belonged to root. For our needs, it would be better if the owner is the tomcat-user. And what are those needs? If it's a sane use-case we could certainly change it, but I'd like to know why it's necessary. Otherwise, use a

Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation

2007-04-12 Thread Marcus Better
We install a commercial applet that wants to create/read the ini-file directly from this directory (don't ask me why). Surely not from the /var/lib/tomcat5.5 directory? Note that the subdirectories conf and webapps are owned by the tomcat55 user. Otherwise, use a stat-override. Sorry, I

Bug#418828: [Fwd: Re: Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation]

2007-04-12 Thread Armin Fuerst
We install a commercial applet that wants to create/read the ini-file directly from this directory (don't ask me why). Surely not from the /var/lib/tomcat5.5 directory? Note that the subdirectories conf and webapps are owned by the tomcat55 user. I was writing about the

Bug#418828: [Fwd: Re: Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation]

2007-04-12 Thread Armin Fuerst
Surely not from the /var/lib/tomcat5.5 directory? Note that the subdirectories conf and webapps are owned by the tomcat55 user. I was writing about the /vat/lib/tomcat5.5 directory. This was owned by root after installation. Perhaps this is caused by the same issue as you reported in

Bug#418828: [Fwd: Re: Bug#418828: /var/lib/tomcat5.5 doesn't belong to tomcat-user after installation]

2007-04-12 Thread Marcus Better
Surely not from the /var/lib/tomcat5.5 directory? Note that the subdirectories conf and webapps are owned by the tomcat55 user. I was writing about the /vat/lib/tomcat5.5 directory. This was owned by root after installation. Perhaps this is caused by the same issue as you reported in