ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: zip/tar and file permissions
Date Wed, 04 Mar 2009 04:43:31 GMT
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message