From 9c4c280d829f4fa91e7bb548410caa9c2eab2f8c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 3 Jul 2026 19:53:23 +0300 Subject: Fix --sync remote path and permissions after pi0/pi1 NetBSD migration The default sync target directory was still /var/www/html/snonux/, but that directory was renamed to snonux.foo/ on both pi0 and pi1 as part of a bozohttpd vhost fix. Also add --chmod=D755,F644 to the rsync invocation: locally-generated output is mode 600, which lighttpd apparently tolerated but bozohttpd's separate _httpd service user does not (403 Forbidden). Co-Authored-By: Claude Sonnet 5 --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/config/config.go b/internal/config/config.go index f310a6f..d2042f5 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -33,6 +33,6 @@ type Config struct { SyncTargets []string // SyncRemoteDir is the destination directory on each target host. - // Defaults to "/var/www/html/snonux/". Override with SNONUX_SYNC_REMOTE_DIR env var. + // Defaults to "/var/www/html/snonux.foo/". Override with SNONUX_SYNC_REMOTE_DIR env var. SyncRemoteDir string } -- cgit v1.2.3