ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: zips created on Win2K have incorrect permissions when unzipped on Linux
Date Fri, 16 Feb 2001 15:34:35 GMT
John Gerken <> wrote:

>> John Gerken <> wrote:
>>> If I create a zip file while building with Ant 1.2 on my Win2K
>>> machine and then ftp that zip to a Linux box and unzip it, the
>>> permissions of the resulting directories are 644
> Stefan Bodewig wrote:
>> Same holds true for me as well - when creating the ZIP file on
>> Linux using IBM's JDK 1.3. Storing permissions is an extension of
>> the original PKZIP format and as far as I can tell the
>> classes don't really support this.
>> Stefan
> Thanks for your note, Stefan.  So what you are saying is that you
> believe this is a shortcoming of the JDK code, not Ant
> itself, correct?  At least I'm not the first person to see this.

I think so, I once started to analyze the zip file created by these
classes but never had the time to go through it completely.

> Could I perhaps call an external zip program usiing <execon> with a
> nested fileset?

Should work. <apply> would even allow you to update an existing zip


View raw message