[izpack-users] Problem to set a script executable

Pascal Quesseveur quesseveur at abaksystemes.fr
Fri Nov 24 15:08:04 CET 2006


Hello,

I want to set the executable permission on some installed files
without launching them. I have tried something like this:

,----
|   <pack name="config" required="no" preselected="yes">
|     <fileset dir="/home/test/dev"
|      defaultexcludes="yes" targetdir="$INSTALL_PATH" >
| 
|  ...
| 
|     <parsable targetfile="$INSTALL_PATH/bin/config.sh"
|       encoding="iso-8859-1" type="shell" />
|     <executable targetfile="$INSTALL_PATH/bin/config.sh"
|       os="unix" type="bin" stage="never" />
|   </pack>
| </packs>
`----

But it doesn't work. In the dev directory config.sh mode is 775. In the
install directory the mode is 664.

My config is the following: Linux FC3, java 1.5, IzPack 3.9.0 (build
2006.09.25)


-- 
Pascal Quesseveur, quesseveur at abaksystemes.fr




More information about the izpack-users mailing list