You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chong Yu Meng <ch...@cymulacrum.net> on 2003/06/02 04:50:31 UTC

jk2.socket permissions

I've almost got UNIX sockets to work, but for a rather strange problem 
that could be the result of my configuration.

1. I installed Tomcat as root, and it starts up as root.
2. Apache2 starts up as user apache2 and group apache2
3. I initially created an empty file (did not want to use the jk2.socket 
inside /opt/tomcat/work, instead I created jk2.socket inside /var/run), 
and changed group to apache2
4. When Tomcat starts up, it changes the group back to root, and Apache 
cannot write to the file
5. If I changed the jk2.socket group ownership to apache2 *after* Tomcat 
starts up, the whole configuration works!

So, my question is : what is the proper method of setting the 
permissions on the file. Setting it to global read/write does not work. 
Already tried that.

Regards,
pascal chong





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org