mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-07 11:32:16 +00:00
b5912: Only copy ownership.
Permissions are dictated by the mounted version. Or if it doesn't yet exist, then the permissions are the default of created by root.
This commit is contained in:
1 parent
0ccf7d3ad3
commit
cd2e0e1ed2
1 file changed
+1
-1
+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 "$TEMPORARY_HOME_COPY_LOCATION"/home /
|
||||
cp -r --preserve=ownership "$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
|
||||
|
||||
Reference in new issue
Block a user