[
https://issues.apache.org/jira/browse/TOMEE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513827#comment-17513827
]
Richard Zowalla commented on TOMEE-3879:
----------------------------------------
Ok, I see it. Our code does not preserve the +x flags if it extracts the ZIP.
Related tests are the failover ones.
> Make openejb-standalone bin/* executable
> ----------------------------------------
>
> Key: TOMEE-3879
> URL: https://issues.apache.org/jira/browse/TOMEE-3879
> Project: TomEE
> Issue Type: Sub-task
> Components: TomEE Build, TomEE Core Server
> Affects Versions: 9.0.0-M7
> Reporter: Jean-Louis Monteiro
> Priority: Major
>
> Even though the assembly does set the right permissions, they aren't
> preserved when extracting the ZIP file.
>
> Different possible options ...
> * Switch to tag.gz and use the same approach as we do for iTests to untar.
> * Use commons-compress with the zip file so the permissions are used and
> applied after unpacking
> * Fix ou Unzip logic to honor the permissions
> * Run a process to apply the permissions after unpacking the zip.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)