[izpack-users] chmod on unix shell scripts

Loïc lbndev at yahoo.fr
Thu Sep 20 08:14:56 CEST 2007


Hi nbc,

Use the fully qualified path of your script on the target machine.
That is, if your script is set to be installed at the root of your 
INSTALL_PATH, use

	<execuable targetfile="$INSTALL_PATH/myScripts.sh" os="unix"/>

If it is set to be put in the "sh" subdirectory, you'll want to write :

	<execuable targetfile="$INSTALL_PATH/sh/myScripts.sh" os="unix"/>


Loïc

nbc a écrit :
> I've created an installer on unix.  I have some unix shell scripts
> (myScripts.sh) that have executable privs on the source.  I use the
> <execuable targetfile="myScripts.sh" os="unix"/> on the pack.  When the
> files are installed, the privs on myScripts.sh are read/write only. 
>
> How do I give the target unix shell scripts execute privs. 
>
>
> Thanks
>   



More information about the izpack-users mailing list