[ https://issues.apache.org/jira/browse/SOLR-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247773#comment-13247773 ]
Robert Muir commented on SOLR-3328: ----------------------------------- {quote} The ZIP task cannot handle this (as ZIP files dont know those +x attributes). {quote} I don't believe that. I tried this on my computer: touch foo.sh touch bar.sh chmod a+x bar.sh zip test.zip foo.sh bar.sh mkdir test cd test rmuir@beast:~/test$ unzip ../test.zip Archive: ../test.zip extracting: foo.sh extracting: bar.sh rmuir@beast:~/test$ ls -la total 16 drwxrwxr-x 2 rmuir rmuir 4096 2012-04-05 18:26 . drwxr-xr-x 87 rmuir rmuir 12288 2012-04-05 18:26 .. -rw-rw-r-- 1 rmuir rmuir 0 2012-04-05 18:25 bar.sh -rwxrwxr-x 1 rmuir rmuir 0 2012-04-05 18:25 foo.sh > executable bits of shellscripts in solr source release > ------------------------------------------------------ > > Key: SOLR-3328 > URL: https://issues.apache.org/jira/browse/SOLR-3328 > Project: Solr > Issue Type: Improvement > Components: Build > Reporter: Robert Muir > Fix For: 4.0 > > > HossmanSays: in the solr src releases, some shell scripts are not executable > by default. > I don't know if we can improve this? Maybe its an svn prop? > Maybe something needs to be specified to the tar/zip process? > Currently the 'source release' is really an svn export... > Personally i always do 'sh foo.sh' rather than './foo.sh', > but if it makes it more user-friendly we should figure it out > Just opening the issue since we don't forget about it, I think solr cloud > adds some more shell scripts so we should at least figure out what we want to > do. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org