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: 32d813ce44 ("build: properly use cargo wrapper")
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Lukas Wagner 2024-11-19 13:12:01 +01:00 committed by Thomas Lamprecht
parent 62399a8e50
commit 9d10d3d260

View File

@ -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)