fix(history): allow publisher to read scoped config

This commit is contained in:
冰朔 2026-08-01 19:35:19 +08:00
commit 0c09edbc2b

View file

@ -66,10 +66,11 @@ install -m 0644 \
"${target_root}/PERSONA-HISTORY-REALITY-BOUNDARY.hldp"
install -d -o root -g guanghu-history -m 0750 /etc/guanghu
setfacl -m u:guanghu-history-publisher:--x /etc/guanghu
install -m 0640 -o root -g guanghu-history \
"${source_root}/config/BS-SH-005.json" \
"${config_target}"
install -m 0644 -o root -g root \
install -m 0640 -o root -g guanghu-history-publisher \
"${source_root}/config/BS-SH-005-publisher.json" \
"${publisher_config_target}"
chown root:guanghu-history-publisher "${publisher_token}"