ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Zip file access rights preservation...
Date Tue, 22 Apr 2003 06:51:47 GMT
On Mon, 21 Apr 2003, EJ Ciramella <> wrote:

> Is there an archive type that preserves access rights?

No.  Apart from <exec> that is.

The reason is that you cannot check the access rights from Java.  This
in turn means that Ant cannot preserve them as it doesn't know them.

Both <tar> and <zip> provide ways to specify and store permissions for
files and directories, but you have to state them explicitly.


View raw message