snuyanzin commented on code in PR #29294:
URL: https://github.com/apache/flink/pull/29294#discussion_r4106404823


##########
.github/workflows/docs-legacy.yml:
##########
@@ -76,20 +76,24 @@ jobs:
             bash -c "./build_docs.sh"
 
       - name: Build documentation
+        # The build runs as root, the upload below as the runner user, hence 
the chmod
         run: |
           docker run --rm \
             --volume "$PWD:/root/flink" \
             --volume "$HOME/.m2/repository:/root/.m2/repository" \
             apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_noble \
-            bash -c "apt-get update && apt-get install -y rsync && cd 
/root/flink && ./.github/workflows/docs.sh"
+            bash -c "apt-get update && apt-get install -y rsync && cd 
/root/flink && ./.github/workflows/docs.sh && chmod -R a+rX docs/target"

Review Comment:
   ```suggestion
               bash -c "apt-get update && apt-get install -y rsync && cd 
/root/flink && ./.github/workflows/docs.sh &&  chown -R $(id -u):$(id -g) 
docs/target"
   ```
   how about this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to