Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 33028 invoked from network); 16 Feb 2001 07:54:09 -0000 Received: from bodewig.bost.de (root@195.227.98.11) by h31.sny.collab.net with SMTP; 16 Feb 2001 07:54:09 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.9.3/8.9.3) id IAA01517; Fri, 16 Feb 2001 08:54:20 +0100 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: zips created on Win2K have incorrect permissions when unzipped on Linux References: From: Stefan Bodewig Date: 16 Feb 2001 08:54:19 +0100 In-Reply-To: Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 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 java.util.zip classes don't really support this. Stefan