Skip to content

Do not rsync permissions during restore

Vineet Reddy Rajula requested to merge rsync-perms-fix into master

After the changes on https://gitlab.cern.ch/paas-tools/okd4-install/-/merge_requests/1139 the restore is failing as rsync is not able to copy permissions from 'gid' (on the backups) to 'setguid (sgid)' (on the current PVCs). This fix adds a --no-perms flag to oc rsync to fix this. This also allows us to always abide by the permissions already set on the PVC & not override them.

Thanks to Jack for his help on debugging this.

Merge request reports