fix: chown repo dir before user switch in deploy.sh (#149) #150

Merged
Zeus merged 1 commit from fix/deploy-chown into main 2026-02-27 17:55:53 +00:00
Collaborator

One-liner fix: chown -R alpha:alpha $REPO_DIR before exec sudo in deploy.sh.

Prevents stale root-owned .git/objects from breaking git fetch on subsequent deploys.

Closes #149

One-liner fix: `chown -R alpha:alpha $REPO_DIR` before `exec sudo` in deploy.sh. Prevents stale root-owned `.git/objects` from breaking `git fetch` on subsequent deploys. Closes #149
Root-owned .git/objects from past broken deploys break git fetch.
Add chown -R before exec sudo to fix stale ownership.

Closes #149
Zeus merged commit d93e268c62 into main 2026-02-27 17:55:53 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot!150
No description provided.