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
<...>
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,
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
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
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
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
[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
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
12 matches
Mail list logo