Fix colibri CLI for clawdie user #26

Merged
clawdie merged 1 commit from fix/colibri-cli-clawdie-access into main 2026-06-04 19:34:36 +02:00

1 commit

Author SHA1 Message Date
Clawdie Operator
f293bcf85e Fix colibri CLI for clawdie user — socket permissions + env
Two fixes so 'colibri status' works without root:

1. Socket chmod 660 in rc.d poststart — Unix socket connect()
   requires write permission on the socket file. The default 0755
   gives only owner write; group members (clawdie in colibri)
   need 0660 to connect.

2. COLIBRI_DAEMON_SOCKET in /etc/profile.d/clawdie.sh — the
   colibri binary looks for this env var. Without it, falls back
   to ~/.local/share/colibri-daemon/colibri-daemon.sock (wrong).
   Now set globally for all clawdie shell sessions.
2026-06-04 17:34:18 +00:00