From d39c8736fb7d5448c87ae39fa58503230803242f Mon Sep 17 00:00:00 2001 From: BenediktMKuehne Date: Wed, 20 Dec 2023 09:11:00 +0000 Subject: [PATCH 1/2] ch back to force copy --- run-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-server.sh b/run-server.sh index 5dd27fb6..f816a398 100755 --- a/run-server.sh +++ b/run-server.sh @@ -147,7 +147,7 @@ if [[ -d ./emba/external/nvd-json-data-feeds ]]; then fi # sync emba -rsync -r -u --progress --chown=www-embark:sudo ./emba/ /var/www/emba/ +cp -Ruf ./emba/ /var/www/emba/ # logs if ! [[ -d ./docker_logs ]]; then From 5c107eb6fa7584dfd65b6df635b26a83e2ed8c67 Mon Sep 17 00:00:00 2001 From: BenediktMKuehne Date: Wed, 20 Dec 2023 09:13:35 +0000 Subject: [PATCH 2/2] add chown --- run-server.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-server.sh b/run-server.sh index f816a398..4609ba5f 100755 --- a/run-server.sh +++ b/run-server.sh @@ -147,7 +147,8 @@ if [[ -d ./emba/external/nvd-json-data-feeds ]]; then fi # sync emba -cp -Ruf ./emba/ /var/www/emba/ +cp -Rf ./emba/ /var/www/emba/ +chown -R www-embark /var/www/emba/ # logs if ! [[ -d ./docker_logs ]]; then