diff --git a/install.sh b/install.sh index 277d9f05..16095a02 100644 --- a/install.sh +++ b/install.sh @@ -193,10 +193,9 @@ else done CERT_PRIV_KEY=/etc/letsencrypt/live/${rootdomain}/privkey.pem CERT_PUB_KEY=/etc/letsencrypt/live/${rootdomain}/fullchain.pem + sudo chown ${USER}:${USER} -R /etc/letsencrypt fi -sudo chown ${USER}:${USER} -R /etc/letsencrypt - print_green 'Installing Nginx' sudo mkdir -p /etc/apt/keyrings