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

Alex Boisvert commented on BUILDR-23:
-------------------------------------

Yes, this code exists on the trunk.   Tar is the only task that accepts an 
explicit :mode argument.   However, the ZipTask will attempt to preserve the 
same file attributes as they exist on the filesystem.

> 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
>             Fix For: 1.3.5
>
>         Attachments: 
> 0001-BUILDR-23-adding-spec-for-file-permissions-preserva.patch, 
> 0002-BUILDR-23-preserving-file-permissions-when-zipping.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