From 878f6e06e3a8b17226f6e98873817870421ad1fe Mon Sep 17 00:00:00 2001 From: m3taversal Date: Sat, 18 Apr 2026 11:54:13 +0100 Subject: [PATCH] fix: restore execute bits on .sh files, add chmod safety net to auto-deploy research-session.sh and install-hermes.sh were committed with mode 100644 during repo reorganization (d2aec7fe). rsync -az preserved the non-executable mode, breaking all research agent cron jobs since Apr 15. Safety net in auto-deploy.sh ensures any future permission loss is auto-corrected. Co-Authored-By: Claude Opus 4.6 (1M context) --- deploy/auto-deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/auto-deploy.sh b/deploy/auto-deploy.sh index 9b07c60..d0f531a 100755 --- a/deploy/auto-deploy.sh +++ b/deploy/auto-deploy.sh @@ -78,6 +78,9 @@ rsync $RSYNC_FLAGS diagnostics/ "$DIAGNOSTICS_DIR/" rsync $RSYNC_FLAGS agent-state/ "$AGENT_STATE_DIR/" [ -f research/research-session.sh ] && rsync $RSYNC_FLAGS research/research-session.sh /opt/teleo-eval/research-session.sh +# Safety net: ensure all .sh files are executable after rsync +find /opt/teleo-eval -maxdepth 3 -name '*.sh' -not -perm -u+x -exec chmod +x {} + + log "Files synced" # Restart services only if Python files changed