Matti-

One use case is to run multiple tomcats at different ports, with
resources accessible to one but not to the other.

A related use case is to run an application made up of several
resources only one of which is in the tomcat webapp tree and which are
owned by a unix user. DSpace is the example that motivated my original
report. The DSpace installation instructions recommend having tomcat
run as the same user that owns two DSpace directory trees (one the
source tree, one created from it at install time) besides the webapp.
In my case, I am prepared to dedicate the tomcat to the DSpace
installation at the moment, but want to survive both the ability to
run another tomcat and the ability to add servlets unrelated to DSpace
once I understand enough about DSpace to decide whether that is wise
or unwise.  My choice was to let the DSpace resources be owned by the
default tomcat user and live with the consequences, if any, of having
all my servlets in a single rights management space, or isolate the
DSpace in a tomcat with a unique user, letting other tomcats run with
the default user if appropriate.

All that said, the /etc/init.d startup script clearly intends to let
you set the tomcat execution user, it just seems to not quite change
the ownership of all the resources correctly.
On the surface, I would have said that the chown at line 149 needs to
be recursive, at least as to conf but probably the other
subdirectories too in case the user is changed after first use.   If I
recall correctly the major failure was inability to access down in
conf/Catalina after changing the default user in the script, but I
recall that just changing ownership recursively down conf/Catalina
simply exposed another failure, so my report was "various failures". I
apologize for the vagueness of that.


Bob


On Jan 3, 2008 6:31 PM, mlind <[EMAIL PROTECTED]> wrote:
> Why do you exactly want to change the default user who is running
> tomcat5.5 instance?
>
> ** Changed in: tomcat5.5 (Ubuntu)
>        Status: New => Incomplete
>
>
> --
> In gutsy, cannot change tomcat5.5 user from tomcat55
> https://bugs.launchpad.net/bugs/177685
> You received this bug notification because you are a direct subscriber
> of the bug.
>


-- 
Robert A. Morris
Professor of Computer Science
UMASS-Boston
[EMAIL PROTECTED]
http://bdei.cs.umb.edu/
http://www.cs.umb.edu/~ram
http://www.cs.umb.edu/~ram/calendar.html
phone (+1)617 287 6466

-- 
In gutsy, cannot change tomcat5.5 user from tomcat55
https://bugs.launchpad.net/bugs/177685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to