Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 21209 invoked from network); 14 Apr 2003 16:32:30 -0000 Received: from relay1.tiscali.de (HELO webmail.tiscali.de) (62.27.55.1) by daedalus.apache.org with SMTP; 14 Apr 2003 16:32:30 -0000 Received: from DJ0X820J (80.128.225.185) by webmail.tiscali.de (6.0.045) id 3E93E5DB00310F67 for user@ant.apache.org; Mon, 14 Apr 2003 18:13:19 +0200 Message-ID: <021f01c302a3$25a8a540$030200c0@DJ0X820J> From: "Antoine Levy-Lambert" To: "Ant Users List" References: <20030414161917.76881.qmail@web13906.mail.yahoo.com> Subject: Re: Zipfileset/Filemode and 1.53 Date: Mon, 14 Apr 2003 18:30:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The permissions of the files are stored in the zip. So this might be a bug. If I understand well, the permissions are OK when you include the perl script directly in the implicit fileset of the zip task, but not when you include the perl script in a zipfileset nested in the zip task. Antoine ----- Original Message ----- From: "jeremy weber" To: "Ant Users List" Sent: Monday, April 14, 2003 6:19 PM Subject: RE: Zipfileset/Filemode and 1.53 > Understood, however I do not know that this is > necessarily the answer to the problem. In one zip > file, the execute bit is on when unzipped on Solaris. > On the other not. Maybe it is my lack of > understanding about how ant is attempting to do this. > Are the files changed(chmoded) locally and then stored > in zipfile? Or does the zipfile actually store the > file permissions? I had always assumed the latter. > In any case, its working in one zip and not the other, > which makes me think that I can get it to happen in > both. Wishful thinking? > > --- Scott Francis wrote: > > Just a quick 2 cents... > > > > I didn't think win2k had the notion of a execute > > bit. I have found that since windows security is so > > skewed as compared to that of Unix security, you > > will not really be able to do chmodding of > > files/directories in a very reliable fashion. > > > > > > -----Original Message----- > > From: jeremy weber [mailto:jeremyweber@yahoo.com] > > Sent: Monday, April 14, 2003 11:10 AM > > To: Ant Users List > > Subject: Re: Zipfileset/Filemode and 1.53 > > > > > > Sure. Thanks for the quick response. No errors or > > exceptions are thrown. When unzipped the resulting > > files do not retain the file permissions set by the > > filemode attribute. In this case, specifically the > > execute bit turned on (744). > > > > -rw-r--r-- 1 jweber other 913 Apr 11 > > 19:39 > > fastcgirunner.pl > > > > While I need... > > > > -rwxr--r-- 1 jweber other 913 Apr 11 > > 19:39 > > fastcgirunner.pl > > > > Thanks > > > > --- Antoine Levy-Lambert > > > > wrote: > > > Dear Jeremy, > > > can you expand and explain why/how your second > > build > > > is failing ? > > > is an exception thrown by ant ? or is the zip file > > > produced not usable ? > > > how do you know that you have a problem ? > > > Antoine > > > ----- Original Message ----- > > > From: "jeremy weber" > > > To: > > > Sent: Monday, April 14, 2003 5:50 PM > > > Subject: Zipfileset/Filemode and 1.53 > > > > > > > > > > I am experiencing difficulties setting > > permissions > > > on > > > > a directory to be included in a zip file. I > > just > > > > installed 1.53 and I am having the same problems > > I > > > saw > > > > in 1.52. Basically one target does this > > > correctly, > > > > the other incorrectly. I am building on win2k > > and > > > > testing on Solaris. Could that be an issue? > > > > > > > > I have several targets that create zips. This > > one > > > > works. > > > > > > > > > > > filemode="744" > > > > includes="wrapper.pl, > > > > httpd.sh"/> > > > > > > prefix="conf"/> > > > > > > > > > prefix="libexec"/> > > > > > > > prefix="libexec" > > > > includes="**/libGetGid.so"/> > > > > > > > prefix="webapps/vsinstall/pages" > > > > includes="**/*.jsp, > > > > **/*.css"/> > > > > > > > prefix="webapps/vsinstall/images" > > > > includes="**/*.jpg, > > > > **/*.gif"/> > > > > > > > prefix="webapps/vsinstall/WEB-INF" > > > > includes="*.tld, > > > > *.xml"/> > > > > > > > prefix="webapps/vsinstall/WEB-INF/lib"/> > > > > > > > > > > > > > > > > > > > > > > > > This one fails. > > > > > > > > > > > prefix="bin" filemode="744" > > > > includes="**/*.sh, > > > > **/*.pl"/> > > > > > prefix="conf"/> > > > > > > > > > > > > > prefix="libexec"/> > > > > > > > prefix="${vs.webapp}/jsp"/> > > > > > > > prefix="${vs.webapp}/includes"/> > > > > > > > includes="UserTool.log, > > > > archive.flag, > > > > vendorsite.log, > > > > stdout.log, > > > > stderr.log, > > > > access.log, > > > > error.log"/> > > > > > > prefix="${vs.webinf}" > > > > /> > > > > > > > prefix="${vs.webinf}/lib"/> > > > > > > > > > > > > Anyone have any suggestions? > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Tax Center - File online, calculators, > > > forms, and more > > > > http://tax.yahoo.com > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > user-unsubscribe@ant.apache.org > > > > For additional commands, e-mail: > > > user-help@ant.apache.org > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: > > > user-help@ant.apache.org > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Tax Center - File online, calculators, forms, > > and more > > http://tax.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > > user-help@ant.apache.org > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > > user-help@ant.apache.org > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >