fix ownership after deployment
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 <noreply@anthropic.com>
This commit is contained in:
parent
f084f8380a
commit
57093441c3
@ -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..."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user