From: Michael Tremer Date: Tue, 7 Oct 2025 15:22:57 +0000 (+0000) Subject: dma: Change ownership of auth.conf X-Git-Tag: v2.29-core198~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b8ba152daf7ba6faa99d307d87b2f8eb85cfcb;p=ipfire-2.x.git dma: Change ownership of auth.conf This file only needs to be written to by nobody (i.e. the web UI), but there are other users which need to read it in order to send emails. Signed-off-by: Michael Tremer --- diff --git a/lfs/dma b/lfs/dma index 39507ff6a..9200de290 100644 --- a/lfs/dma +++ b/lfs/dma @@ -81,7 +81,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make install mailq-link install-spool-dirs install-etc install -v -m 755 $(DIR_SRC)/config/dma/dma-cleanup-spool /usr/sbin chown -R nobody.nobody /var/ipfire/dma - chown nobody.root /var/ipfire/dma/auth.conf + chown nobody.mail /var/ipfire/dma/auth.conf + chmod 640 /var/ipfire/dma/auth.conf ln -svf dma /usr/sbin/sendmail.dma /usr/sbin/alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.dma 20 @rm -rf $(DIR_APP)