Integrated: 8354337: GHA: Windows build fails with chmod permission error
Kevin Rushforth
kcr at openjdk.org
Fri Apr 11 15:46:32 UTC 2025
On Thu, 10 Apr 2025 22:00:35 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> After a recent update by GitHub to the GHA Windows Server 2022 runner, we get the following error in all GHA test runs:
>
>
> chmod: changing permissions of '.': Permission denied
> chmod: changing permissions of './bin': Permission denied
> ...
>
>
> This PR disables running `chmod -R` on the `artifacts/sdk` dir when doing a GHA build.
>
> The `chmod` is only needed when building artifacts for distribution, and we only use the GHA build for sanity testing, so we can avoid this problem by adding a flag that skips the `chmod` if running on GHA. This is a minimally intrusive solution that would restore our ability to run GHA test builds on Windows without affecting the actual JavaFX build.
>
> I've run a CI build as well as a local build to ensure that the chmod is still being executed.
This pull request has now been integrated.
Changeset: 8a61dd2b
Author: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/8a61dd2b808e1fa691150d01eafd2697d0d1c56d
Stats: 15 lines in 2 files changed: 11 ins; 0 del; 4 mod
8354337: GHA: Windows build fails with chmod permission error
Reviewed-by: angorya, arapte
-------------
PR: https://git.openjdk.org/jfx/pull/1770
More information about the openjfx-dev
mailing list