From e1b4395502e201a6dd6b6536b77b1ac7a8735ab8 Mon Sep 17 00:00:00 2001 From: "Sebastien Jourdain (Kitware)" Date: Wed, 18 Sep 2024 10:02:30 -0600 Subject: [PATCH] ci(docker): fix runtime_patch to properly remap trame-user --- docker/scripts/runtime_patch.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/scripts/runtime_patch.sh b/docker/scripts/runtime_patch.sh index efa9a992..0736297d 100755 --- a/docker/scripts/runtime_patch.sh +++ b/docker/scripts/runtime_patch.sh @@ -13,6 +13,10 @@ then if [[ "$new_gid" != "$trame_gid" ]]; then groupmod --gid $new_gid trame-user fi + + # Run chown on all trame-user directories/files + chown -R trame-user:trame-user /opt/trame + chown trame-user:proxy-mapping /opt/trame/proxy-mapping.txt fi # Remap internal docker group to the group of /var/run/docker.sock @@ -46,4 +50,4 @@ then BASE_NEW="" OUTPUT="${OUTPUT//$BASE_OLD/$BASE_NEW}" echo -e "$OUTPUT" > "${FILE_TO_PATCH}" -fi \ No newline at end of file +fi