Repository navigation
v0.26.0
Added
-
vault_group_writable— opt-in group access for shared-GID setups
(#159). New vault notes and directories are
created0600/0700, which breaks setups where a second container shares the group but not
the UID — e.g. an Obsidian LiveSync sidecar on a NAS cannot even list the notes, so sync
silently replicates nothing. Settingvault_group_writable = true(or
CAIRN_VAULT_GROUP_WRITABLE=1) creates new vault notes/dirs0660/0770instead.Opt-in rather than a new default: on macOS every local user's primary group is
staff, and
shared groups likeusersare common on NAS hosts, so a group-readable default would expose
the vault to other accounts on those systems without anyone granting it. The knob is scoped to
the vault — the DuckDB index, dedup/judge/usage ledgers, lock files, host configs, and
~/.agentcairn/config.toml(which can hold API keys) stay owner-only regardless. Existing
files keep whatever mode they already have.Reported with a precise root-cause analysis by @stegmajo.
Fixed
cairn configaligned its key column to a hardcoded width, so the longer
vault_group_writablename pushed that row's=and[source]out of line. The width now
derives from the knob list.