From c9469635b5b842d9ae4d71769670d1ce41a0b612 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Fri, 14 Oct 2022 07:21:18 +0000 Subject: [PATCH] remove unneeded chmod fixes #1307 --- install.sh | 1 - restore.sh | 3 +-- update.sh | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 4830f038..160e17cc 100644 --- a/install.sh +++ b/install.sh @@ -168,7 +168,6 @@ 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 -sudo chmod 775 -R /etc/letsencrypt print_green 'Installing Nginx' diff --git a/restore.sh b/restore.sh index 0a6e990a..4dda15c6 100755 --- a/restore.sh +++ b/restore.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SCRIPT_VERSION="42" +SCRIPT_VERSION="43" SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/restore.sh' sudo apt update @@ -162,7 +162,6 @@ sudo rm -rf /etc/letsencrypt sudo mkdir /etc/letsencrypt sudo tar -xzf $tmp_dir/certs/etc-letsencrypt.tar.gz -C /etc/letsencrypt sudo chown ${USER}:${USER} -R /etc/letsencrypt -sudo chmod 775 -R /etc/letsencrypt print_green 'Restoring celery configs' diff --git a/update.sh b/update.sh index 6d0bacf0..080cca43 100644 --- a/update.sh +++ b/update.sh @@ -334,7 +334,6 @@ sudo chown ${USER}:${USER} -R ${SCRIPTS_DIR} sudo chown ${USER}:${USER} /var/log/celery sudo chown ${USER}:${USER} -R /etc/conf.d/ sudo chown ${USER}:${USER} -R /etc/letsencrypt -sudo chmod 775 -R /etc/letsencrypt CHECK_CELERY_CONFIG=$(grep "autoscale=20,2" /etc/conf.d/celery.conf) if ! [[ $CHECK_CELERY_CONFIG ]]; then