Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 71666 invoked from network); 19 Jul 2005 23:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2005 23:44:14 -0000 Received: (qmail 38788 invoked by uid 500); 19 Jul 2005 23:43:55 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 38774 invoked by uid 500); 19 Jul 2005 23:43:55 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 38760 invoked by uid 99); 19 Jul 2005 23:43:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2005 16:43:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of alon.belman@gmail.com designates 64.233.170.192 as permitted sender) Received: from [64.233.170.192] (HELO rproxy.gmail.com) (64.233.170.192) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2005 16:43:51 -0700 Received: by rproxy.gmail.com with SMTP id i8so226397rne for ; Tue, 19 Jul 2005 16:43:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GmOqbLPxxVUXyZZ3rSurLTpWqX0TrmgzNdn7a8oDpBEPy/mRnMZjSJ33or6BGG5nphbRaEWcP7JIEyC66g8WdXAgvK8NM6U1Rrhkf0DCqNBT/PDg6L9ozUrfOIUVcJ/9TipkavS/ExMnmZ2W5K9mfhzhUBbAYSgxSoloMPsxVDQ= Received: by 10.38.104.28 with SMTP id b28mr3334632rnc; Tue, 19 Jul 2005 16:43:53 -0700 (PDT) Received: by 10.39.3.62 with HTTP; Tue, 19 Jul 2005 16:43:53 -0700 (PDT) Message-ID: Date: Tue, 19 Jul 2005 16:43:53 -0700 From: Alon Belman Reply-To: Alon Belman To: Tomcat Users List , mn216@columbia.edu Subject: Re: question about deployment (including executables in war) In-Reply-To: <42DB002E.E14DFD4E@columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42DB002E.E14DFD4E@columbia.edu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Murad, I'm not 100% sure what you're asking -- like what do you mean by "jar strips the execute file permissions from my programs"? -- but i'm assuming you cant do it. In fact, I will be more than a little alarmed if a packaged web app can include and run arbitrary executables unless specifically allowed to so by its server's SecurityManager, or if the server is running without a SecurityManager. That is, you cannot do it unless you configure it OUTSIDE your web application. Hope this helps, Alon On 7/17/05, Murad Nayal wrote: >=20 >=20 > Hi Everybody, >=20 > I need to include executable programs as part of my web application. in > development I created a directory WEB-INF/bin where I kept copies of the > programs I need. problem is when I create a war file for my application, > jar strips the execute file permissions from my programs. is there any > way around this at all where I would still have my application packaged > as a single war file with the necessary executables (with the correct > permissions). >=20 > many thanks > Murad Nayal >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org