From e1bde79f8eb1949ad63e0e4aeb865c5970024d0e Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Mon, 27 May 2024 01:22:11 +0100 Subject: [PATCH] update permissions --- scripts/before_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/before_install.sh b/scripts/before_install.sh index ef724ed..e83310e 100644 --- a/scripts/before_install.sh +++ b/scripts/before_install.sh @@ -21,8 +21,8 @@ if [ ! -f "$CERT_DIR" ]; then sudo apt install -y certbot sudo certbot certonly --standalone -d $DOMAIN --email $EMAIL --agree-tos --non-interactive if [ $? -eq 0 ]; then - sudo chmod u+r "$CERT_DIR/privkey.pem" - sudo chmod u+r "$CERT_DIR/fullchain.pem" + sudo chmod 755 "$CERT_DIR/privkey.pem" + sudo chmod 755 "$CERT_DIR/fullchain.pem" fi fi