dma: fix /etc/dma/*.conf permissions

Fixes https://github.com/void-linux/void-packages/issues/34431;
solution due to thenktor
This commit is contained in:
Lorenzo Beretta 2021-12-09 21:46:24 +01:00 committed by classabbyamp
parent 6c68288b6a
commit 3b56203e70
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ case ${ACTION} in
post)
# fix permissions and owners
chown root:mail usr/bin/dma
chown root:mail etc/dma/auth.conf etc/dma/dma.conf
chmod 2755 usr/bin/dma
chown root:mail usr/lib/dma-mbox-create
chmod 4754 usr/lib/dma-mbox-create

View File

@ -1,7 +1,7 @@
# Template file for 'dma'
pkgname=dma
version=0.13
revision=3
revision=4
conf_files="/etc/dma/*.conf"
make_dirs="/var/spool/dma 2775 root mail"
hostmakedepends="flex"