jsvc creates pid file owned by root

2008-04-10 Thread Gunnar Boström

Hi,

I can start and stop Tomcat 5.5 with the jsvc program but the problem is
that the pid file is created with permissions 600 and owned by root.
I want to be able to read the pid file to check if the Tomcat process is up
and running 
and also for other purposes.

Is it possible to make the pid file be owned by the user that runs Tomcat or
have the permissions to be set to 666?

Regards
Gunnar

-- 
View this message in context: 
http://www.nabble.com/jsvc-creates-pid-file-owned-by-root-tp16606528p16606528.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jsvc creates pid file owned by root

2008-04-10 Thread Gunnar Boström

Hi,
Answers to all of you who has responded.

I would be fine with 644 but I don't know how to set that.
The file is owned by root so I'm not allowed to change it.
My umask is by default 0022 which should be okay. I tried to set the mask to
 but no change.
I created a pid file with the correct permissions but as expected jsvc
ignored it.

I was hoping that there were some undocumented switches in jsvc that I could
use.

Regards
Gunnar


-- 
View this message in context: 
http://www.nabble.com/jsvc-creates-pid-file-owned-by-root-tp16606528p16626038.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]