From 4bb7150bca2fc16931ca073a1dfffb0d3c150eca Mon Sep 17 00:00:00 2001 From: Brett Langdon Date: Thu, 8 Aug 2024 12:11:14 -0400 Subject: [PATCH] fix(SSI): set the right permissions (#10141) ## Checklist - [x] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) --- .gitlab/build-oci.sh | 1 + releasenotes/notes/fix-ssi-permissions-647693af3d5ce49d.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/fix-ssi-permissions-647693af3d5ce49d.yaml diff --git a/.gitlab/build-oci.sh b/.gitlab/build-oci.sh index e68568c4972..86d5d57135f 100755 --- a/.gitlab/build-oci.sh +++ b/.gitlab/build-oci.sh @@ -43,6 +43,7 @@ cp ../lib-injection/sitecustomize.py $BUILD_DIR/ cp auto_inject-python.version $BUILD_DIR/version cp ../min_compatible_versions.csv $BUILD_DIR/ cp ../lib-injection/telemetry-forwarder.sh $BUILD_DIR/ +chmod -R +r $BUILD_DIR chmod -R o-w $BUILD_DIR chmod -R g-w $BUILD_DIR diff --git a/releasenotes/notes/fix-ssi-permissions-647693af3d5ce49d.yaml b/releasenotes/notes/fix-ssi-permissions-647693af3d5ce49d.yaml new file mode 100644 index 00000000000..ff010664a2b --- /dev/null +++ b/releasenotes/notes/fix-ssi-permissions-647693af3d5ce49d.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + SSI: This fixes incorrect file permissions on lib-injection images for 2.10.x releases. +