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