[
https://jira.nuxeo.org/browse/NXBT-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=72616#action_72616
]
Julien Carsique commented on NXBT-144:
--------------------------------------
>From Ant copy task:
<< Unix Note: File permissions are not retained when files are copied; they end
up with the default UMASK permissions instead. This is caused by the lack of
any means to query or set file permissions in the current Java runtimes. If you
need a permission-preserving copy function, use <exec executable="cp" ... >
instead. >>
>From Ant zip task:
<< 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. >>
Rather than making the build process OS dependent (!), execution tags will be
set at the end of deployment process, from Shell scripts only.
> Make executable files zipped with executable tag
> ------------------------------------------------
>
> Key: NXBT-144
> URL: https://jira.nuxeo.org/browse/NXBT-144
> Project: Nuxeo ECM Build/Test Environment
> Issue Type: Improvement
> Components: Distribution, nuxeo-distribution-tools, nx-builder
> Reporter: Julien Carsique
> Assignee: Julien Carsique
>
> Avoid users to do "chmod +x" and avoid this being done while releasing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets