[ 
https://issues.apache.org/jira/browse/BUILDR-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726334#action_12726334
 ] 

Assaf Arkin commented on BUILDR-23:
-----------------------------------

if you set mode on the zip entry (instead of calling add_file) you'll get 
ability to set mode, copy mode from original file and set compression level.

> Support for setting file mode when packaging
> --------------------------------------------
>
>                 Key: BUILDR-23
>                 URL: https://issues.apache.org/jira/browse/BUILDR-23
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Packaging
>    Affects Versions: 1.3
>            Reporter: Assaf Arkin
>         Attachments: 
> 0001-BUILDR-23-adding-spec-for-file-permissions-preserva.patch, 
> 0002-BUILDR-23-preserving-permissions-of-source-files-in.patch
>
>
> For example:
> zip.include('script.sh', :mode=>755)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to