Amar3tto commented on code in PR #40693:
URL: https://github.com/apache/beam/pull/40693#discussion_r4328514381
##########
website/build.gradle:
##########
@@ -177,7 +177,7 @@ task downloadPerformanceLooks(type: Exec) {
mkdir -p "\$OUT_DIR"
# mkdir above runs as root. The leaf directory must be writable by the
host uid.
- chown "\$HOST_UID:\$HOST_GID" "\$OUT_DIR"
+ chown "\$HOST_UID:\$HOST_GID" "\$(dirname "\$OUT_DIR")"
Review Comment:
We don't need -R here because we only need to fix the ownership of the
directories created by mkdir -p, not their contents. The files downloaded by
gcloud are already created under the host UID via gosu.
--
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]