diff options
author | SelfAdjointOperator <jb2170@selfadjointoperator.com> | 2022-01-20 03:09:51 +0000 |
---|---|---|
committer | SelfAdjointOperator <jb2170@selfadjointoperator.com> | 2022-01-20 03:09:51 +0000 |
commit | 591e1b528e436d4659c76f664aa64d4c2f62bdff (patch) | |
tree | 663285396a5c18352954f893fbc9b7ace69a985c | |
parent | 484704338440942223cd350a36d1cb10cd7dc5dc (diff) |
Reset umask to 0022 at beginning of install
-rwxr-xr-x | emailwiz.sh | 3 |
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. |