ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Leo <m...@cariboulake.com>
Subject Problem with zip permissions
Date Tue, 25 Sep 2001 00:12:50 GMT
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.

Michael Leo            mleo@cariboulake.com        Java, Oracle
Caribou Lake Software  http://www.cariboulake.com  Ingres, JDBC

JSockets/JMobility: Tunnelling sockets over HTTP - REALLY!


Mime
View raw message