-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: None
-
Component/s: None
-
None
Out the box, the first thing a unix user will experience is:
jturner@teacup:~/tmp/confluence-2.2-std/bin$ ./startup.sh
bash: ./startup.sh: Permission denied
Running chmod +x *.sh fixes this.
This should be easy to fix by setting the filemode attribute in the <zip> task:
http://ant.apache.org/manual/CoreTypes/zipfileset.html
More from the Ant docs:
> Starting with Ant 1.5.2, <zip> can store Unix permissions inside the archive (see description of the filemode and dirmode attributes for <zipfileset>). Unfortunately there is no portable way to store these permissions. Ant uses the algorithm used by Info-Zip's implementation of the zip and unzip commands - these are the default versions of zip and unzip for many Unix and Unix-like systems.
Maven 1.0.3 comes with Ant 1.5.3, so this should work.