Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 15685 invoked from network); 14 Jan 2003 12:00:34 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Jan 2003 12:00:34 -0000 Received: (qmail 5364 invoked by uid 97); 14 Jan 2003 12:01:41 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5352 invoked by uid 97); 14 Jan 2003 12:01:40 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 13899 invoked by uid 98); 14 Jan 2003 09:59:08 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Sender: mastrori@medias.cnes.fr Message-Id: <200301140957.h0E9vWB03654@cnes.fr> Date: Tue, 14 Jan 2003 09:26:26 +0100 From: Laurence Mastrorillo X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: keeping file permission in warfile References: Content-Type: multipart/alternative; boundary="------------6CED3E626C8C2C57B0A27391" X-Loop-Check: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------6CED3E626C8C2C57B0A27391 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks Martin, but I don't think this is really what I need. I explain. Here is my target (at least part of it): ...... ...... The files in src/cgi/ have the good permissions, so no need for chmod there. But after I extract the war-file, they loose the '+x' permission, as if 'waring' files resets permissions. Is this the case? Laurence Martin Gainty a �crit : > > > > Laurence:try the chmod task here is an example: > > > > > > > > > > makes all files below shared/sources1 (except those below any > directory named trial) writable for members of the same group on a > UNIX system. In addition all files belonging to a FileSet with id > other.shared.sources get the same permissions. > Regards,Martin Gainty > > ______________________________________________ > > Disclaimer and confidentiality note > > Everything in this e-mail and any attachments relating to the > official business of Laconia Data Systems (LDS) is proprietary to > the company. It is confidential, legally privileged and protected > by law. LDS does not own and endorse any other content. Views and > opinions are those of the sender unless clearly stated as being > that of LDS. > > The person addressed in the e-mail is the sole authorised > recipient. Please notify the sender immediately if it has > unintentionally reached you and do not read, disclose or use the > content in any way. > > LDS can not assure that the integrity of this communication has > been maintained nor that it is free of errors, virus, > interception or interference. > > _____________GMT-5___________________ > > > >From: Laurence Mastrorillo > >Reply-To: "Ant Users List" > >To: ant-user@jakarta.apache.org > >Subject: keeping file permission in warfile > >Date: Mon, 13 Jan 2003 12:04:10 +0100 > >MIME-Version: 1.0 > >Received: from exchange.sun.com ([192.18.33.10]) by > mc7-f19.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, > 13 Jan 2003 05:01:13 -0800 > >Received: (qmail 26233 invoked by uid 97); 13 Jan 2003 13:02:21 -0000 > > >Received: (qmail 18565 invoked by uid 98); 13 Jan 2003 10:58:25 -0000 > > >Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm > >Precedence: bulk > >List-Unsubscribe: > >List-Subscribe: > >List-Help: > >List-Post: > >List-Id: "Ant Users List" > >Delivered-To: mailing list ant-user@jakarta.apache.org > >X-Antivirus: nagoya (v4218 created Aug 14 2002) > >Sender: mastrori@medias.cnes.fr > >Message-Id: <200301131056.h0DAuvB06434@cnes.fr> > >X-Accept-Language: en > >X-Loop-Check: > >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >Return-Path: > ant-user-return-28201-mgainty=hotmail.com@jakarta.apache.org > >X-OriginalArrivalTime: 13 Jan 2003 13:01:13.0780 (UTC) > FILETIME=[DA137740:01C2BB03] > > > >Hi all, > >here is my problem : I have a web-app which ci=ontains servlets and > cgi. > >When I use ant to build the warfile to deploy the app, i lose the 'x' > > >permission on my cgi. > >Any idea on how I could keep all the files permission after > extracting > >the war-file? > >I'm running ant 1.5 on linux redhat 8.0. > >Thanks > >Laurence > > > > > >-- > >To unsubscribe, e-mail: > >For additional commands, e-mail: > > > ----------------------------------------------------------------------- > The new MSN 8: smart spam protection and 2 months FREE*. --------------6CED3E626C8C2C57B0A27391--