From 5c0fd43a884542ad4eccb09a29fe302920467b6d Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Tue, 6 Oct 2026 23:32:32 +0200 Subject: [PATCH] ref(vroom): Remove ensure-correct-permissions-profiles-dir.sh It was marked for removal after the next hard stop, and 26.5.0 and 26.7.0 have shipped since. It also runs bash inside the vroom container, which a distroless vroom image won't have. Co-Authored-By: Claude --- install.sh | 1 - .../ensure-correct-permissions-profiles-dir.sh | 17 ----------------- 2 files changed, 18 deletions(-) delete mode 100755 install/ensure-correct-permissions-profiles-dir.sh diff --git a/install.sh b/install.sh index c0ead4943b6..f6515c70455 100755 --- a/install.sh +++ b/install.sh @@ -42,7 +42,6 @@ source install/migrate-seaweedfs-kek.sh source install/upgrade-postgres.sh source install/bootstrap-s3-nodestore.sh source install/bootstrap-snuba.sh -source install/ensure-correct-permissions-profiles-dir.sh source install/bootstrap-s3-profiles.sh source install/set-up-and-migrate-database.sh source install/migrate-pgbouncer.sh diff --git a/install/ensure-correct-permissions-profiles-dir.sh b/install/ensure-correct-permissions-profiles-dir.sh deleted file mode 100755 index 2fd95b885e6..00000000000 --- a/install/ensure-correct-permissions-profiles-dir.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# TODO: Remove this after the next hard-stop - -# Should only run when `$COMPOSE_PROFILES` is set to `feature-complete` -if [[ "$COMPOSE_PROFILES" == "feature-complete" ]]; then - echo "${_group}Ensuring correct permissions on profiles directory ..." - - # Check if the parent directory of /var/vroom/sentry-profiles is already owned by vroom:vroom - if [ "$($dcr --no-deps --entrypoint /bin/bash --user root vroom -c "stat -c '%U:%G' /var/vroom/sentry-profiles" 2>/dev/null)" = "vroom:vroom" ]; then - echo "Ownership of /var/vroom/sentry-profiles is already set to vroom:vroom. Skipping chown." - else - $dcr --no-deps --entrypoint /bin/bash --user root vroom -c 'chown -R vroom:vroom /var/vroom/sentry-profiles && chmod -R o+rwx /var/vroom/sentry-profiles' - fi - - echo "${_endgroup}" -fi