From cb54a7977a9fa52562bc9279539c34814b5e4e52 Mon Sep 17 00:00:00 2001 From: sascha Date: Thu, 13 Aug 2026 13:09:07 +0200 Subject: [PATCH] fix: make bridge secrets readable by service uid --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 6a36206..7aa0419 100644 --- a/app.py +++ b/app.py @@ -1914,7 +1914,8 @@ for filename, value in files.items(): if path.is_dir(): path.rmdir() path.write_text(value) - os.chmod(path, 0o600) + os.chown(path, 10001, 10001) + os.chmod(path, 0o400) """.format(files_json=json.dumps(files)) encoded = base64.b64encode(installer.encode()).decode() command = f"sudo python3 -c {__import__('shlex').quote(f'import base64;exec(base64.b64decode({encoded!r}))')}" -- 2.49.1