Skip to content

Commit 209cfb9

Browse files
morotenEdSchouten
authored andcommitted
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."
1 parent 1685938 commit 209cfb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ pkg_tar(
2626
":configs/linux/logind.conf": "/etc/systemd/logind.conf.d/bb_clientd.conf",
2727
":configs/linux/systemd.service": "/usr/lib/systemd/user/bb_clientd.service",
2828
},
29+
mode = "444",
30+
modes = {
31+
"/usr/bin/bb_clientd": "555",
32+
"/usr/lib/bb_clientd/launch_bb_clientd_linux.sh": "555",
33+
},
2934
)
3035

3136
# When built with --stamp, creates a non-deterministic output file for pushing images to a remote registry.

0 commit comments

Comments
 (0)