From 57093441c33b6560589c887ccc28a34b79fc8acb Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 6 Jan 2026 22:38:43 -0500 Subject: [PATCH] fix ownership after deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add chown to set deployed files to current user instead of leaving them owned by root. This matches the original copy_to_apt.sh behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy.sh b/deploy.sh index afaf4e8..68200c4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -29,6 +29,9 @@ sudo rm -rf "${DEPLOY_DIR}"/* sudo mv /tmp/jrunner/* "${DEPLOY_DIR}"/ sudo rm -rf /tmp/jrunner +echo "Fixing ownership..." +sudo chown -R $USER:$USER "${DEPLOY_DIR}" + # Only create symlink for /opt/jrunner if [ "${DEPLOY_DIR}" = "/opt/jrunner" ]; then echo "Creating symlink..."