HoustonPutman commented on pull request #1844:
URL: https://github.com/apache/lucene-solr/pull/1844#issuecomment-689833826


   > from(..., {
   > filesMatching("**/*.sh", {
   > fileMode 0755
   > })
   > })
   
   Sorry, forgot to mention this before. I tried that initially and it resulted 
in all files having the executable bit added.
   
   ```
     from(toDir.outputs, {
       filesMatching(["**/bin/*", "**/*.sh"], {
         fileMode 0755
       })
     })
   ```
   
   ```
   drwxr-xr-x 1 houston houston    512 Sep  9 11:11 bin
   -rwxr-xr-x 1 houston houston 946673 Sep  9 17:11 CHANGES.txt
   drwxr-xr-x 1 houston houston    512 Sep  9 11:11 contrib
   drwxr-xr-x 1 houston houston    512 Sep  9 11:11 dist
   drwxr-xr-x 1 houston houston    512 Sep  9 11:11 example
   drwxr-xr-x 1 houston houston    512 Sep  9 11:11 licenses
   -rwxr-xr-x 1 houston houston  12646 Sep  9 17:11 LICENSE.txt
   -rwxr-xr-x 1 houston houston 786774 Sep  9 17:11 LUCENE_CHANGES.txt
   -rwxr-xr-x 1 houston houston  27951 Sep  9 17:11 NOTICE.txt
   -rwxr-xr-x 1 houston houston   7470 Sep  9 17:11 README.md
   drwxr-xr-x 1 houston houston    512 Sep  9 11:11 server
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to