chiark / gitweb /
Makefile: Set correct permissions on the Exim filter file.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2015 16:04:17 +0000 (17:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2015 16:04:17 +0000 (17:04 +0100)
Makefile

index 0b95944dc0f5a91016d18fb0e435ee0ab5ef20a4..139b129ff009a75486076fec1901bd15b25db852 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ TARGETS += exim-filter
 exim-filter: exim-filter.in passwds Makefile
        set -e; . ./passwds; umask 077; \
                sed "s;@PASSWORD@;$$exim_db_passwd;g" $< >$@.new; \
+               chmod 640 $@.new; chgrp Debian-exim $@.new; \
                mv $@.new $@
 
 CLEAN += $(TARGETS)