From 1ad8e260d51f0f4cfd6be43a55a00db7f10fa4e6 Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Tue, 7 May 2024 23:40:16 +0200 Subject: [PATCH] b5912: Don't copy ownership --- .../central_reverse_proxy/setup-central-reverse-proxy-part-2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh b/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh index 72780e20d1f..62b6ffad723 100644 --- a/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh +++ b/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh @@ -19,7 +19,7 @@ TEMPORARY_HOME_COPY_LOCATION="/root/temporary_home_copy" # home nested within th ssh -A "root@${IP}" "bash -s" << EOF sudo systemctl start crond.service . imageupgrade_functions.sh -cp -r --preserve=ownership "$TEMPORARY_HOME_COPY_LOCATION"/home / +cp -r "$TEMPORARY_HOME_COPY_LOCATION"/home / rm -rf "$TEMPORARY_HOME_COPY_LOCATION" build_crontab_and_setup_files -f "${IMAGE_TYPE}" "${GIT_COPY_USER}" "${RELATIVE_PATH_TO_GIT}" # files have already been copied so -f is used. chown trac:static /var/www/static