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

Richard Zowalla commented on TOMEE-3879:
----------------------------------------

The reason why the perms are not relevant is, that we are invoking the 
openejb-core jar directly

 

!image-2022-03-29-08-41-16-436.png!

> 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
>         Attachments: 
> Change_Unzip_logic_to_handle_tar_gz_and_set_posix_permissions.patch, 
> image-2022-03-29-08-41-16-436.png
>
>
> 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)

Reply via email to