From user-return-67221-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Mar 04 04:44:08 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76375 invoked from network); 4 Mar 2009 04:44:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2009 04:44:08 -0000 Received: (qmail 99554 invoked by uid 500); 4 Mar 2009 04:44:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 99518 invoked by uid 500); 4 Mar 2009 04:44:01 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 99506 invoked by uid 99); 4 Mar 2009 04:44:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 20:44:01 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [88.84.142.181] (HELO samaflost.de) (88.84.142.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 04:43:54 +0000 Received: from localhost (unknown [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 6C197E220014 for ; Wed, 4 Mar 2009 04:43:33 +0000 (UTC) Received: from samaflost.de ([127.0.0.1]) by localhost (v30161.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22305-07 for ; Wed, 4 Mar 2009 05:43:31 +0100 (CET) Received: by samaflost.de (Postfix, from userid 2525) id DAE64E22000A; Wed, 4 Mar 2009 05:43:31 +0100 (CET) To: user@ant.apache.org Subject: Re: zip/tar and file permissions X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 64729) References: <34721A41A7BCF54ABC3B116219A8C1C2055D5C4369@NP1EXCH012.corp.halliburton.com> <34721A41A7BCF54ABC3B116219A8C1C2055D5C436A@NP1EXCH012.corp.halliburton.com> From: Stefan Bodewig Date: Wed, 04 Mar 2009 05:43:31 +0100 In-Reply-To: <34721A41A7BCF54ABC3B116219A8C1C2055D5C436A@NP1EXCH012.corp.halliburton.com> (Shawn Castrianni's message of "Tue\, 3 Mar 2009 13\:46\:46 -0600") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at samaflost.de X-Virus-Checked: Checked by ClamAV on apache.org On 2009-03-03, Shawn Castrianni wrote: > Java 1.6 seems to have available: > canRead > canWrite > canExecute (new to 1.6) > setReadable (new to 1.6) > setWritable (new to 1.6) > setExecutable (new to 1.6) which is insufficient since it only get/sets the bits for the current user and not the owner/group or "other" permissions on Unix. > which makes me think this is now possible to do in a platform > independent way from ANT. If Ant wouldn't target JDK 1.4, that is 8-) Yes, it would be possible to have a Java 6+ extension of zip/tarfileset that could try to autodetect settings, agreed. Want to file an enhancement request in bugzilla? If you wanted to implement it, that would be even better. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org