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 0b95944..139b129 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)