ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ant <tar> and <jar> tasks do not preserve file permissions?
Date Mon, 23 Sep 2002 07:00:43 GMT
On Fri, 20 Sep 2002, Michael Charters
<> wrote:

> unfortunately, the ant jar task does not preserve the permissions on
> the files when it saves

There is no Java API to determine the permissions, thus Ant cannot
preserve them.

> i decided to try the tar task instead ... and that produces the same
> problem -- the permissions are not saved

But you can use <tarfileset> to explicitly set them if you know the
files that need non-default permissions.


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

View raw message