b5912: Don't copy ownership

This commit is contained in:
Thomas Stokes committed 2024-05-07 23:40:16 +02:00
1 parent e1c7adf333
commit 1ad8e260d5
1 file changed
+1 -1
@@ -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