From dd5f01dca65222003c110b8e9b5004deb3c7e785 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sun, 9 Mar 2014 22:04:42 +0100 Subject: [PATCH] Add 20_fix_postfwd1_default_umask.patch to fix postfwd default umask (Closes: #717607), thanks Jesse Norell --- .../patches/20_fix_postfwd1_default_umask.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/20_fix_postfwd1_default_umask.patch diff --git a/debian/patches/20_fix_postfwd1_default_umask.patch b/debian/patches/20_fix_postfwd1_default_umask.patch new file mode 100644 index 0000000..8bf3c99 --- /dev/null +++ b/debian/patches/20_fix_postfwd1_default_umask.patch @@ -0,0 +1,15 @@ +From: Jan Wagner +Subject: Fixing default umask of postfwd +diff --git a/sbin/postfwd b/sbin/postfwd +index e17a729..62f90bb 100755 +--- a/sbin/postfwd ++++ b/sbin/postfwd +@@ -49,7 +49,7 @@ our($def_net_chroot) = ""; + our($def_net_interface) = "127.0.0.1"; + our($def_net_port) = "10040"; + our($def_net_proto) = "tcp"; +-our($def_net_umask) = "0111"; ++our($def_net_umask) = "0177"; + our($def_net_user) = "nobody"; + our($def_net_group) = "nobody"; + our($def_dns_queuesize) = "300"; diff --git a/debian/patches/series b/debian/patches/series index ecdd347..c5ee770 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 10_fix_wording_manpages.patch +20_fix_postfwd1_default_umask.patch