From 591e1b528e436d4659c76f664aa64d4c2f62bdff Mon Sep 17 00:00:00 2001 From: SelfAdjointOperator Date: Thu, 20 Jan 2022 03:09:51 +0000 Subject: [PATCH] Reset umask to 0022 at beginning of install --- emailwiz.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emailwiz.sh b/emailwiz.sh index 5fa84fc..31311de 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -33,6 +33,9 @@ # On installation of Postfix, select "Internet Site" and put in TLD (without # `mail.` before it). +echo "Setting umask to 0022..." +umask 0022 + echo "Installing programs..." apt install postfix dovecot-imapd dovecot-sieve opendkim spamassassin spamc # Check if OpenDKIM is installed and install it if not.