From fb5a8dc4fba4ea196eef616f6a9e9d86e7240f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Fri, 8 Sep 2023 09:29:42 +0200 Subject: [PATCH] [#622] Fix permissions with folders in linux integrations --- src/linux/scripts/postinstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/linux/scripts/postinstall.sh b/src/linux/scripts/postinstall.sh index 79ded46c..bf4db1cf 100644 --- a/src/linux/scripts/postinstall.sh +++ b/src/linux/scripts/postinstall.sh @@ -24,6 +24,7 @@ function do_and_check_cmd() { # Give all the permissions to the nginx user echo "Setting ownership for all necessary directories to nginx user and group..." do_and_check_cmd chown -R nginx:nginx /usr/share/bunkerweb /var/cache/bunkerweb /var/lib/bunkerweb /etc/bunkerweb /var/tmp/bunkerweb /var/run/bunkerweb /var/log/bunkerweb +do_and_check_cmd chmod -R 770 /usr/share/bunkerweb /var/cache/bunkerweb /var/lib/bunkerweb /etc/bunkerweb /var/tmp/bunkerweb /var/run/bunkerweb /var/log/bunkerweb # Stop and disable nginx on boot echo "Stop and disable nginx on boot..."