Using the ant zipfile filemode attribute does solve the problem when using native zip tools like unzip:
[EMAIL PROTECTED] dist]$ unzip jboss-4.0.4.GA.zip [EMAIL PROTECTED] bin]$ ls -l total 172 -rwxr-xr-x 1 starksm starksm 3539 May 6 12:12 classpath.sh* -rwxr-xr-x 1 starksm starksm 3479 May 6 12:12 jboss_init_hpux.sh* -rwxr-xr-x 1 starksm starksm 2463 May 6 12:12 jboss_init_redhat.sh* -rwxr-xr-x 1 starksm starksm 3750 May 6 12:12 jboss_init_suse.sh* -rw-r--r-- 1 starksm starksm 535 May 6 12:12 probe.bat -rwxr-xr-x 1 starksm starksm 918 May 6 12:12 probe.sh* -rw-r--r-- 1 starksm starksm 3140 May 6 12:12 run.bat -rw-r--r-- 1 starksm starksm 1572 May 6 12:12 run.conf -rw-r--r-- 1 starksm starksm 37586 May 6 12:12 run.jar -rwxr-xr-x 1 starksm starksm 4672 May 6 12:12 run.sh* -rw-r--r-- 1 starksm starksm 1813 May 6 12:12 shutdown.bat -rw-r--r-- 1 starksm starksm 16982 May 6 12:12 shutdown.jar -rwxr-xr-x 1 starksm starksm 2061 May 6 12:12 shutdown.sh* -rw-r--r-- 1 starksm starksm 2137 May 6 12:12 twiddle.bat -rw-r--r-- 1 starksm starksm 46942 May 6 12:12 twiddle.jar -rwxr-xr-x 1 starksm starksm 2414 May 6 12:12 twiddle.sh* -rw-r--r-- 1 starksm starksm 2037 May 6 12:12 wstools.bat -rwxr-xr-x 1 starksm starksm 2776 May 6 12:12 wstools.sh* The jdk jar tool does not honor the settings: [EMAIL PROTECTED] dist]$ jar -xf jboss-4.0.4.GA.zip [EMAIL PROTECTED] dist]$ ls -l jboss-4.0.4.GA/bin total 172 -rw-rw-r-- 1 starksm starksm 3539 May 6 12:23 classpath.sh -rw-rw-r-- 1 starksm starksm 3479 May 6 12:23 jboss_init_hpux.sh -rw-rw-r-- 1 starksm starksm 2463 May 6 12:23 jboss_init_redhat.sh -rw-rw-r-- 1 starksm starksm 3750 May 6 12:23 jboss_init_suse.sh -rw-rw-r-- 1 starksm starksm 535 May 6 12:23 probe.bat -rw-rw-r-- 1 starksm starksm 918 May 6 12:23 probe.sh -rw-rw-r-- 1 starksm starksm 3140 May 6 12:23 run.bat -rw-rw-r-- 1 starksm starksm 1572 May 6 12:23 run.conf -rw-rw-r-- 1 starksm starksm 37586 May 6 12:23 run.jar -rw-rw-r-- 1 starksm starksm 4672 May 6 12:23 run.sh -rw-rw-r-- 1 starksm starksm 1813 May 6 12:23 shutdown.bat -rw-rw-r-- 1 starksm starksm 16982 May 6 12:23 shutdown.jar -rw-rw-r-- 1 starksm starksm 2061 May 6 12:23 shutdown.sh -rw-rw-r-- 1 starksm starksm 2137 May 6 12:23 twiddle.bat -rw-rw-r-- 1 starksm starksm 46942 May 6 12:23 twiddle.jar -rw-rw-r-- 1 starksm starksm 2414 May 6 12:23 twiddle.sh -rw-rw-r-- 1 starksm starksm 2037 May 6 12:23 wstools.bat -rw-rw-r-- 1 starksm starksm 2776 May 6 12:23 wstools.sh ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development