From cb56e7d04a91f47cf79b951027c696ae97280ad2 Mon Sep 17 00:00:00 2001 From: bunkerity Date: Wed, 17 Aug 2022 17:17:27 +0200 Subject: [PATCH] tests - add chown for custom linux configs --- examples/drupal/setup-linux.sh | 1 + examples/wordpress/setup-linux.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/examples/drupal/setup-linux.sh b/examples/drupal/setup-linux.sh index 5f7aa3263..a42580ae4 100755 --- a/examples/drupal/setup-linux.sh +++ b/examples/drupal/setup-linux.sh @@ -23,3 +23,4 @@ find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; cd "$current_dir" cp -r ./bw-data/configs/* /opt/bunkerweb/configs +chown -R nginx:nginx /opt/bunkerweb/configs diff --git a/examples/wordpress/setup-linux.sh b/examples/wordpress/setup-linux.sh index bed2e85da..24c2a0f6a 100755 --- a/examples/wordpress/setup-linux.sh +++ b/examples/wordpress/setup-linux.sh @@ -19,3 +19,5 @@ cp -r /tmp/wordpress/* /opt/bunkerweb/www chown -R $user:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; +cp -r ./bw-data/configs/* /opt/bunkerweb/configs +chown -R nginx:nginx /opt/bunkerweb/configs \ No newline at end of file