[ 
https://issues.apache.org/jira/browse/SOLR-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248138#comment-13248138
 ] 

Dawid Weiss commented on SOLR-3328:
-----------------------------------

http://ant.apache.org/manual/Tasks/zip.html

bq. 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.

I remember we used to ZIP with unix permissions and they unzipped just fine 
(with permission sets).
                
> 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

Reply via email to