fix(flatpak): avoid rsync permission errors during deploy

Use --no-perms and --no-times when syncing the signed repo to hosting.
This commit is contained in:
Sebastian Palencsar
2026-06-27 13:34:52 +02:00
parent a6a204ae2b
commit dcbec82b53

View File

@@ -18,7 +18,7 @@ fi
rsync -avz \ rsync -avz \
-e 'ssh -o RemoteCommand=none -o RequestTTY=no' \ -e 'ssh -o RemoteCommand=none -o RequestTTY=no' \
--no-group --no-owner --omit-dir-times \ --no-group --no-owner --omit-dir-times --no-perms --no-times \
--exclude='.lock' \ --exclude='.lock' \
flatpak_repo/ \ flatpak_repo/ \
"${deploy_target}" "${deploy_target}"
@@ -27,7 +27,7 @@ for ref_file in bearwave.flatpakref flatpak_repo/bearwave.flatpakref flatpak_rep
if [[ -f "${ref_file}" ]]; then if [[ -f "${ref_file}" ]]; then
rsync -avz \ rsync -avz \
-e 'ssh -o RemoteCommand=none -o RequestTTY=no' \ -e 'ssh -o RemoteCommand=none -o RequestTTY=no' \
--no-group --no-owner --omit-dir-times \ --no-group --no-owner --omit-dir-times --no-perms --no-times \
"${ref_file}" \ "${ref_file}" \
"${deploy_target}$(basename "${ref_file}")" "${deploy_target}$(basename "${ref_file}")"
echo "Deployed ${ref_file} to ${deploy_target}" echo "Deployed ${ref_file} to ${deploy_target}"