ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Pedersen <>
Subject Re: permissions in zip files
Date Wed, 31 Jan 2001 20:25:25 GMT
This is what I was afraid of.  Just out of curiosity, why does it only 
remove the executable attribute?  This makes it impossible to remove the 
directorys on solaris with out first resetting the permissions.
Thanks for the feedback.

At 03:04 PM 1/31/2001 -0500, you wrote:
>Mike Pedersen wrote:
> > Hello all, I'm encountering a problem that I home someone will have a
> > solution to.  When I create a zip file using ant it seems that the execute
> > permission is lost from all directorys.  When the  file is unzipped, the
> > directorys only have read and write permissions.
> > Any information would be much appreciated.
> >
>The problem is due to Java's not having a good understanding of file
>permissions.  We have the same problem with tar.  The usuall answer is "if
>you need to maintain permissions in your zip|tar, use <exec> and call the
>appropriate tool."
>Glenn McAllister

View raw message