Reset umask to 0022 at beginning of install

This commit is contained in:
SelfAdjointOperator 2022-01-20 03:09:51 +00:00
parent 4847043384
commit 591e1b528e
No known key found for this signature in database
GPG Key ID: 26284047C24E5758

View File

@ -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.