secubox-deb/scripts/lib
CyberMind-FR 845683c9c9 fix(metablog): chown site dirs to secubox:secubox after ingest (ref #121)
ingest_site() runs git init/commit inside /srv/metablogizer/sites/<name> over
ssh as root, so a freshly created .git is owned root:root — but the
metablogizer service runs as 'secubox' and cannot write the repo (blocked
sub-E #113 webhook deploys). Add a fix_perms helper that chown -R
secubox:secubox the site dir after every .git-touching ingest path
(ingested-fresh x2 + ingested-with-history). Matches module postinst pattern.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 09:30:13 +02:00
..
agent-worktree-lib.sh feat(scripts): implement agent-worktree start sub-command (ref #83) 2026-05-12 09:54:12 +02:00
gitea-ssh-preflight.sh feat(metablog): SSH preflight + Gitea key enrolment helper (ref #94) 2026-05-12 16:29:34 +02:00
metablog-ingest-site.sh fix(metablog): chown site dirs to secubox:secubox after ingest (ref #121) 2026-06-24 09:30:13 +02:00
streamlit-ingest-app.sh feat(streamlit): Per-app ingest function (idempotent, history-preserving) (ref #95) 2026-05-12 16:29:34 +02:00
test-helpers.sh docs(spec): CMSD-1.0 license headers across the codebase 2026-05-12 09:10:37 +02:00
tier-manifest.sh fix(scripts): Harden tier-manifest helper per code review (ref #80) 2026-05-12 09:24:28 +02:00