ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Problem with zip permissions
Date Tue, 25 Sep 2001 03:07:22 GMT
On Tue, 25 Sep 2001 10:12, Michael Leo wrote:
> Gang,
>
> When I unzip a file (in UNIX using unzip) that was created
> by ant, it uses my UNIX umask to set the permissions for all
> the files in the zip archive.
>
> What am I missing?  I can't traverse the directory structure
> without chmodding ...
>
>          <chmod dir="${stage.dir}" perm="ugo+rwx" includes="**/*"/>
>
>          <delete file="${os.JSOCKETS_JAR_PREFIX}.zip"/>
>          <zip zipfile="${os.JSOCKETS_JAR_PREFIX}.zip">
>               <zipfileset dir="${stage.dir}" prefix="./" />
>          </zip>
>          <delete dir="${stage.dir}"/>
>
> Thanks for your time.

This used to be an issue but it should be fixed by last release - which Ant 
are you using?

-- 
Cheers,

Pete

---------------------------------------
Be nice to your friends. If it weren't 
for them, you'd be a complete stranger.
---------------------------------------


Mime
View raw message