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
[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
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 tomcat ...
Ah, but what if
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'
-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
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
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
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
Hi,
can you set the umask before you run jsvc ?
Rgds
Fred
Gunnar Boström wrote:
>
> 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
[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
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
11 matches
Mail list logo