From 9d10d3d26081660bf690cef8f1bd6dab7b67a35b Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Tue, 19 Nov 2024 13:12:01 +0100 Subject: [PATCH] buildsys: set setuid bit in installed proxmox-mail-forward binary A previous commit removed the part which sets the bit. Without the bit we cannot read the notification config, because Postfix invokes forwarding binaries as 'nobody'. Fixes: 32d813ce44b ("build: properly use cargo wrapper") Signed-off-by: Lukas Wagner --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 3ac0f8b..e6a7553 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,7 @@ cargo-build: install: cargo-build install -dm755 $(DESTDIR)/usr/bin $(CARGO) install + chmod u+s $(DESTDIR)/usr/bin/$(PACKAGE) .PHONY: upload upload: $(DEBS)