From 65eabea9e4e97c499f2904d2187c63ddf0450bf8 Mon Sep 17 00:00:00 2001 From: aitbc Date: Fri, 24 Apr 2026 11:53:49 +0200 Subject: [PATCH] fix: update setup_production.py to use root instead of aitbc user - Change chown from aitbc:aitbc to root:root for keystore directory - Consistent with systemd service configuration (services run as root) - Removes dependency on aitbc system user --- scripts/utils/setup_production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/setup_production.py b/scripts/utils/setup_production.py index a6517a65..00b2d9d4 100644 --- a/scripts/utils/setup_production.py +++ b/scripts/utils/setup_production.py @@ -39,7 +39,7 @@ def main(): # 1. Keystore directory and password run(f"mkdir -p {KEYS_DIR}") - run(f"chown -R aitbc:aitbc {KEYS_DIR}") + run(f"chown -R root:root {KEYS_DIR}") # SECURITY FIX: Use environment variable instead of hardcoded password if not PASSWORD_FILE.exists():