From 41020cfa4c5b98a4a77d03d2833b9e9e7c781653 Mon Sep 17 00:00:00 2001 From: Fredrik Medley Date: Sun, 21 Dec 2025 21:05:07 +0100 Subject: [PATCH] Set correct file modes in bb_cliend.deb Instead of the default 555 (read, exec), use 444 (read) on non-executables. This fixes the journalctl warning "Configuration file /usr/lib/systemd/user/bb_clientd.service is marked executable." --- BUILD.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 6b18eba..97b5986 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -26,6 +26,11 @@ pkg_tar( ":configs/linux/logind.conf": "/etc/systemd/logind.conf.d/bb_clientd.conf", ":configs/linux/systemd.service": "/usr/lib/systemd/user/bb_clientd.service", }, + mode = "444", + modes = { + "/usr/bin/bb_clientd": "555", + "/usr/lib/bb_clientd/launch_bb_clientd_linux.sh": "555", + }, ) # When built with --stamp, creates a non-deterministic output file for pushing images to a remote registry.