From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: Re: [PATCH] BUG12403: Change group permission of dma.conf Date: Mon, 18 May 2020 22:25:24 +0200 Message-ID: In-Reply-To: <20200513045741.21469-1-alexander.marx@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8933945333472266792==" List-Id: --===============8933945333472266792== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit git cannot apply this patch to the next tree. Arne Am 2020-05-13 06:57, schrieb Alexander Marx: > Because other services that run as other users than nobody should be > able to send mails, this patch changes the permissions > > from > nobody.root > > to > nobody.mail > > When another user wants to send mails via DMA, the user has to be put > into the group "mail". > > FIXES: #12403 > > Arne: Please take care of update script, so these changes affect > normal update procedure. > --- > lfs/dma | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/lfs/dma b/lfs/dma > index 6b5d9bfbf..7f0c2cc0e 100644 > --- a/lfs/dma > +++ b/lfs/dma > @@ -79,8 +79,7 @@ $(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 > - chmod 644 /var/ipfire/dma/auth.conf > + chown nobody.mail /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) --===============8933945333472266792==--