ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Leo <>
Subject Problem with zip permissions
Date Tue, 25 Sep 2001 00:12:50 GMT

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="./" />
         <delete dir="${stage.dir}"/>

Thanks for your time.

Michael Leo          Java, Oracle
Caribou Lake Software  Ingres, JDBC

JSockets/JMobility: Tunnelling sockets over HTTP - REALLY!

View raw message