fix(daemon): make the Herdr socket group-writable (0770) (Sam & Claude) #25

Merged
clawdie merged 1 commit from fix-colibri-socket-perms into main 2026-06-05 10:56:24 +02:00

1 commit

Author SHA1 Message Date
Sam & Claude
813ace9237 fix(daemon): make the Herdr socket group-writable (0770) (Sam & Claude)
Re-landed on current main (the earlier branch never merged — main moved under
it). Operators hit "permission denied" connecting to the colibri daemon from
colibri-tui / the `clawdie` helper: socket.rs binds the Unix socket but never
sets its mode, so it stays at the umask default (0755 = owner-only write).
Connecting needs WRITE perm, so a colibri-group member (clawdie) gets EACCES.
chmod the socket to 0770 after bind. Shared socket::serve, so it covers both
colibri-daemon and the clawdie agent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 10:53:01 +02:00