From users-return-190822-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Sun Feb 01 15:51:56 2009 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 96076 invoked from network); 1 Feb 2009 15:51:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2009 15:51:56 -0000 Received: (qmail 44966 invoked by uid 500); 1 Feb 2009 15:51:44 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44943 invoked by uid 500); 1 Feb 2009 15:51:44 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 44932 invoked by uid 99); 1 Feb 2009 15:51:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 07:51:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [87.194.9.65] (HELO mail.melandra.com) (87.194.9.65) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 15:51:36 +0000 Received: from puma.melandra.net ([10.0.0.251]) by puma.melandra.net ([10.0.0.251]) with mapi; Sun, 1 Feb 2009 15:51:13 +0000 From: Peter Crowther To: 'Tomcat Users List' Date: Sun, 1 Feb 2009 15:51:12 +0000 Subject: RE: running tomcat with root user Thread-Topic: running tomcat with root user Thread-Index: AcmEclb5EhT9iUnVTtSj9N69ZGsmJQAEnPsQ Message-ID: <6715CF65287F8F408DA109EC03AC6C0D845D92FBEB@puma.melandra.net> References: <1233495459.5237.34.camel@dufus> In-Reply-To: <1233495459.5237.34.camel@dufus> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > From: Brian Millett [mailto:bmillett@gmail.com] > On Sat, 2009-01-31 at 19:25 -0800, epicwinter@hotmail.com wrote: > > I have the latest tomcat 6 installed under centos 5.2. The > problem I am having is that it appears that I have to run > tomcat as root user, because the spring app that tomcat > starts needs to write files to other users' home directories. > The tomcat user doesn't have access to these directories. > > > > I tried making these users part of a shared group, but to > complicate the problem the users are jailed using jailkit. > So it doesn't appear that jailkit lets me add group write > privileges to the home directories and maintain a working jail. > > > > Can anyone suggest another alternative? I am not linux > user expert so maybe there is an obvious solution i am missing? > > thanks > > http://commons.apache.org/daemon/jsvc.html Brian, how does this help the OP with their problem that the *application* = needs to write to user directories? - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org