[
https://issues.apache.org/jira/browse/TOMEE-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved TOMEE-3879.
------------------------------------
Fix Version/s: 9.0.0-M8
Resolution: Fixed
> Add missing --add-opens options to itests/failover
> ---------------------------------------------------
>
> 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
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 9.0.0-M8
>
> Attachments:
> Change_Unzip_logic_to_handle_tar_gz_and_set_posix_permissions.patch,
> image-2022-03-29-08-41-16-436.png
>
>
> {*}Description after debugging:{*}{*}{*}
> After debugging the issue it is not related to permissions. We were missing
> --add-opens options in the itests/failover tests. After adding the options,
> the tests will succeed.
> Permissions are "ok" in the ZIP. Keep in mind, that a ZIP cannot preserve
> permissions by design (only on Unix systems by using extra fields). We do not
> need to change anything as we do not need those permissions in the itests.
> *Original Description*
> 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)