Problems with createtmplt.sh are a symptom of https://issues.apache.org/jira/browse/CLOUDSTACK-1304
It appears that the current fix fails, because that ant task that executes chmod on scripts is not recursive. Current fix, form https://github.com/apache/cloudstack/blob/master/client/pom.xml, is: <!-- CLOUDSTACK-1304 --> <chmod perm="755"> <fileset dir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" /> </chmod> > -----Original Message----- > From: Chip Childers [mailto:chip.child...@sungard.com] > Sent: 17 July 2013 12:06 AM > To: <dev@cloudstack.apache.org> > Subject: Re: chmod u+x createtmplt.sh? > > Packages perhaps? > > On Jul 16, 2013, at 6:38 PM, Donal Lafferty <donal.laffe...@citrix.com> > wrote: > > > I can't see were createtmplt.sh gets turned into an executable script. > > > > Where does this occur? > > > > E.g. > > # mvn clean install > > # mvn -P developer -pl developer -Ddeploydb # export > > MAVEN_OPTS="-XX:MaxPermSize=256m -Xmx1g" > > # mvn -pl :cloud-client-ui jetty:run > > > > Wait for system to settle, and... > > > > root@mgmtserver:~/github/cshv3# ls -al > > /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-IN > > F/classes/scripts/storage/secondary/createtmplt.sh > > -rw-r--r-- 1 root root 4779 Jul 16 23:24 > > /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-IN > > F/classes/scripts/storage/secondary/createtmplt.sh > >