Sometimes I can't read... You can set up the file permissions as you see fit. There is no need for Tomcat to update the files that are deployed other than how the application tells it to, which in the case of mid-tier includes config.properties, cached plugins, attachments, reports and probably a few other things. Tomcat does however need to read all the files in the deployed application.
I would suggest you simply not use the installer and grab the war file from the patch download page and deploy the war file. That would be a much easier route and will allow you or the admins to make the changes manually. Assume the following: - Tomcat runs as user tomcat who is a member of group tomcat - Your admins log in using a named account and are a member of the group midtier If you set up the ownership of all the files/directories in the deployed application as user tomcat and group midtier, you should be able to allow the application to perform updates to the files/directories and also allow the users to make updates to the files in the deployed application. This will probably require that you manually set up the permission mask properly on all the files and directories. I am trying to understand what exactly you are trying to accomplish with this. Is it just to run the mid-tier installer? Is it to allow future changes (patches/customizations) to the deployed application with a non-application owner account? Axton Grams On Mon, Aug 17, 2009 at 10:01 PM, Rabi Tripathi <[email protected]> wrote: > Hmm. I don't see where you find the "run my html page as a user" analogy. > > I understand midtier's files are not executables. My simple concern is that > since Midtier files will be owned by a user different than the user tomcat > runs as, I need to find a way to have tomcat work with this situation. I > will experiment with permissions on midtier's files. I can change the group > owner of the midtier files, so changing it to a group tomcat user is a > member of and changing group permissions may do the trick. > > Besides this issue, I am trying to find out what I need to have them do > with the httpd.conf. I will start with the section on updating httpd.conf > for uninstalling midtier. Adding that part should work. > > Thanks for your comment. > > --- On Mon, 8/17/09, Axton <[email protected]> wrote: > > > From: Axton <[email protected]> > > Subject: Re: Installing Midtier 7.1 on Existing Apache/Tomcat > Installation > > To: [email protected] > > Date: Monday, August 17, 2009, 9:24 PM > > ** > > Tomcat is a process that runs as a user. Mid-tier is just > > a bunch of files that tomcat serves up. Not sure how to > > run a bunch of files as a user... It's akin to saying, > > I have a web server and I want to run my html pages as a > > different user. > > > > > > You can change the owner of the files that are the > > mid-tier, but if you change them in a way that the user that > > tomcat runs as can not update them, you will lock yourself > > out of making mid-tier configuration changes through > > /app/share/config/config.jsp. > > > > > > The closest you can get to running it as another user is > > running a separate instance of Tomcat altogether; one that > > is only used for the mid-tier. > > > > Axton Grams > > > > On Mon, Aug 17, 2009 at 8:15 PM, > > Rabi Tripathi <[email protected]> > > wrote: > > > > Axton, > > > > I'm working in a very restricted environment with no > > root access and no ability to become the user tomcat runs > > as. > > > > > > > > So, I am planning to deploy midtier as a service a/c I have > > access to, which is different from the a/c tomcat runs as, > > and then have the right people modify files beyond midtier > > install directory. > > > > > > > > It's not very clear from the documentation what those > > updates are that need to be made to non-midtier areas in the > > system. I know about httpd.conf. They don't tell you how > > to update this file, but based on the unsintall part of the > > guide, I have a paragraph I am planning to have added to > > it. > > > > > > > > > > Besides, as you mentioned, I need to worry about my use of > > service a/c and whether tomcat will have any issue with it. > > > > > > > > I can ask to have midtier be deployed as the user tomcat > > runs as, but unless there is no other way, I don't want > > to go there. > > > > > > > > > > > > On Mon, Aug 17, 2009 at 7:46 PM, Axton <[email protected]> > > wrote: > > > > > > > > ** Only caveats are the native libraries used by the > > Remedy Java api. These will need to be in the > > LD_LIBRARY_PATH when tomcat is started. > > > > > > > > Deploying the mid-tier is just like deploying any > > other j2ee war/ear/directory/application. > > > > > > > > Mid-Tier will run as the user that Tomcat runs as. > > For this reason, the files deployed with the application > > should be owned by that user so that the mid-tier config > > page can update the config.properties located in the > > WEB-INF/classes directory. Not sure what you mean by > > 'mid-tier will be installed as yet another non-root > > user.' > > > > > > > > > > Axton Grams > > > > > > > > > > > > On Mon, Aug 17, 2009 at 10:51 AM, Rabi Tripathi > > <[email protected]> > > wrote: > > > > > > > > Hi, > > > > I have Apache/Tomcat 2.2.8 in solaris already > > installed by sys admins. I'm trying to install Midtier > > 7.1 on top of it. > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________________________________________ > > > > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > > > > Platinum > > Sponsor:[email protected]<sponsor%[email protected]> > > ARSlist: "Where the Answers Are" > > > > > > > > _Platinum Sponsor: [email protected] ARSlist: > > "Where the Answers Are"_ > > > > > > > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > Platinum > Sponsor:[email protected]<sponsor%[email protected]>ARSlist: > "Where the Answers Are" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

