summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelfAdjointOperator <jb2170@selfadjointoperator.com>2022-01-20 03:09:51 +0000
committerSelfAdjointOperator <jb2170@selfadjointoperator.com>2022-01-20 03:09:51 +0000
commit591e1b528e436d4659c76f664aa64d4c2f62bdff (patch)
tree663285396a5c18352954f893fbc9b7ace69a985c
parent484704338440942223cd350a36d1cb10cd7dc5dc (diff)
Reset umask to 0022 at beginning of install
-rwxr-xr-xemailwiz.sh3
1 files changed, 3 insertions, 0 deletions
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.