RE: jsvc creates pid file owned by root

2008-09-06 Thread Martin Gainty
gt; From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: jsvc creates pid file owned by root > > [EMAIL PROTECTED] wrote: > > See Thread at: http://www.techienuggets.com/Detail?tx=31984 Posted on > > behalf of a User > > > > > >>> Y

Re: jsvc creates pid file owned by root

2008-09-05 Thread Steve Cohen
[EMAIL PROTECTED] wrote: See Thread at: http://www.techienuggets.com/Detail?tx=31984 Posted on behalf of a User You shouldn't be messing about with the ownership of the PID file. It is created by jsvc at startup. If you use jsvc properly it will start as root, create the pid file, startup to

Re: jsvc creates pid file owned by root

2008-09-05 Thread samk
<...> http://www.nabble.com/jsvc-creates-pid-file-owned-by-root-tp16606528p1660652 8.html Sent from the Tomcat - User mailing list archive at <...>. - To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe,

Re: jsvc creates pid file owned by root

2008-04-12 Thread Alan Chaney
Hi Chris Christopher Schultz wrote: Are you sure you are changing the umask for the jsvc process? I wonder if the umask is being re-set to something else when jsvc elevates itself to root. You should ask the commons folks about how to do this with jsvc, as this is really off-topic, here (but we'

Re: jsvc creates pid file owned by root

2008-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gunnar, Gunnar Boström wrote: | 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 chang

Re: jsvc creates pid file owned by root

2008-04-11 Thread Alan Chaney
You shouldn't be messing about with the ownership of the PID file. It is created by jsvc at startup. If you use jsvc properly it will start as root, create the pid file, startup tomcat, allow tomcat to bind to ports 80 and 443 and then switch to the user specified with -user switch. When you i

Re: jsvc creates pid file owned by root

2008-04-10 Thread Gunnar Boström
e 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 Tom

Re: jsvc creates pid file owned by root

2008-04-10 Thread Mark H. Wood
Do you *really* want that file to be world-writable? Why not 644? -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is "intuitive" he means the exact opposite. pgp8EEJOzvw1S.pgp Description: PGP signature

Re: jsvc creates pid file owned by root

2008-04-10 Thread fredk2
d 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 conte

RE: jsvc creates pid file owned by root

2008-04-10 Thread Peter Crowther
[Mid-post - sorry!] > From: David Smith [mailto:[EMAIL PROTECTED] > Well ... here's the problem. jsvc needs that pid file to shutdown > tomcat. It would be a real PITA if some user or script were to muck > around and damage or delete that file. > > Having said that, most *nix systems have a stic

Re: jsvc creates pid file owned by root

2008-04-10 Thread David Smith
Well ... here's the problem. jsvc needs that pid file to shutdown tomcat. It would be a real PITA if some user or script were to muck around and damage or delete that file. Having said that, most *nix systems have a sticky bit ability to force permissions on newly created files in specific f

jsvc creates pid file owned by root

2008-04-10 Thread Gunnar Boström
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