From 07626ceb479a4095ccca9f0891937c5bff085611 Mon Sep 17 00:00:00 2001 From: Natalie Date: Tue, 30 Jun 2026 02:54:26 -0400 Subject: [PATCH] fix(tf-services): verdaccio storage owned by 10001 (its UID), not 1000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verdaccio runs as UID 10001; chowning its volume to 1000 caused EACCES on cache writes → 500 on every uncached proxy fetch (npm installs hung). Co-Authored-By: Claude Opus 4.8 --- cloud-init.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-init.yaml b/cloud-init.yaml index 8daf42a..5c054ab 100644 --- a/cloud-init.yaml +++ b/cloud-init.yaml @@ -55,7 +55,7 @@ write_files: runcmd: - [ bash, -c, "fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo '/swapfile none swap sw 0 0' >> /etc/fstab" ] - - [ bash, -c, "mkdir -p /opt/services/ct /opt/services/mc /opt/services/quinn /opt/services/verdaccio && chown -R 1000:1000 /opt/services/ct /opt/services/mc /opt/services/quinn /opt/services/verdaccio" ] + - [ bash, -c, "mkdir -p /opt/services/ct /opt/services/mc /opt/services/quinn /opt/services/verdaccio && chown -R 1000:1000 /opt/services/ct /opt/services/mc /opt/services/quinn && chown -R 10001:10001 /opt/services/verdaccio" ] - [ systemctl, enable, --now, docker ] - [ bash, -c, "cd /opt/services && docker compose up -d" ]