From 6e61740f0a8a84a264cdecbb627d011980ba26ff Mon Sep 17 00:00:00 2001 From: cclohmar Date: Wed, 3 Jun 2026 08:10:57 +0000 Subject: [PATCH] fix: update mode chowns .go build cache to app user - .go/ directory was root-owned from earlier builds - Prevents 'permission denied' errors during go build --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f0673e1..0fe5208 100755 --- a/install.sh +++ b/install.sh @@ -106,7 +106,7 @@ if [ "${1:-}" = "-update" ]; then sudo_if chmod +x app fi - # Fix ownership of any new files. + # Fix ownership of all files (build cache may be root-owned from earlier builds). sudo_if chown -R "${APP_USER:-${SUDO_USER:-$(whoami)}}:${APP_USER:-${SUDO_USER:-$(whoami)}}" "$INSTALL_DIR" 2>/dev/null || true info "Restarting service..."