You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2022/03/29 06:36:00 UTC

[jira] [Comment Edited] (TOMEE-3879) Make openejb-standalone bin/* executable

    [ https://issues.apache.org/jira/browse/TOMEE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513827#comment-17513827 ] 

Richard Zowalla edited comment on TOMEE-3879 at 3/29/22, 6:35 AM:
------------------------------------------------------------------

Ok, I see it. Our code does not preserve the +x flags if it extracts the ZIP. Related tests are the failover ones.

 

However, I don't think that perms are the issue here as it works with similar code / zips for TomEE 8.x - I guess, that the standalone server fails to startup and we end up waiting for it?


was (Author: rzo1):
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)