Skip to content

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Jul 4, 2025

#583 caused an unintended break for images built on OSBS. For other build types, things worked as expected, but for OSBS builds the file permissions for copied-in files (which are round tripped through the dist-git lookaside cache) lacked +x permissions where they were needed.

This is a -- hopefully temporary -- fix that re-introduces some configure.sh scripts to force permissions, and some behave test to check that they applied correctly.

The longer-term fix is to be via cekit/cekit#944

https://issues.redhat.com/browse/OPENJDK-3935

@jmtd
Copy link
Member Author

jmtd commented Jul 4, 2025

I want to add more behave tests to thoroughly check the relevant scripts are executable.

@jmtd jmtd force-pushed the OPENJDK-3935-artifact-permissions branch from 195d5f4 to 56dc013 Compare July 4, 2025 19:52
This adds tests to ensure certain scripts have the correct
permissions.

https://issues.redhat.com/browse/OPENJDK-3935

Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd jmtd force-pushed the OPENJDK-3935-artifact-permissions branch from 56dc013 to c7f38c1 Compare July 14, 2025 14:08
@jmtd jmtd marked this pull request as ready for review July 14, 2025 14:12
@jmtd jmtd requested a review from jerboaa July 14, 2025 14:12
@jmtd jmtd merged commit 6cc4abb into rh-openjdk:ubi9 Jul 15, 2025
4 checks passed
@jmtd jmtd deleted the OPENJDK-3935-artifact-permissions branch July 15, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants