Skip to content

OPENJDK-3655 change script permissions to permit o+x #577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: ubi9
Choose a base branch
from

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Apr 11, 2025

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

This sets o+x for executable scripts and removes x for files that are intended to be sourced but not directly executed.

As it stands this is as small change, but, my preferred approach to addressing this would be the approach taken in #559, which would result in a cleaner and more manageable source. @jerboaa , would you object to a fix like that in ubi9?

jmtd added 2 commits April 11, 2025 14:37
Many of the shell scripts we copy into the image are shell "libraries"
which are intended to be sourced by other shell scripts and not directly
executed themselves. It's confusing to install them with +x permissions.

The scripts which are intended to be executed were set with owner or
group execute permission but "other" without. This was a problem for
some users of the containers in a non-OpenShift context, and there was
no good reason for it, so set those +x for other as well.
@jmtd jmtd requested a review from jerboaa April 11, 2025 13:59
Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. GHA seems to have hit a timeout issue.

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