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