Skip to content

[VMFR] rsync: Permission denied when downloading files #59

@weshayutin

Description

@weshayutin

Jira Issue: OADP-7465


Description of problem:

While testing VMFR feature I noticed an error when trying to download files via rsync command. Currently its failing with permission denied error. I'm able to download files via scp command.

$ virtctl ssh fedora@vmi/fedora-vm-test \
  -n fedora-vmfr \
  --identity-file=$HOME/.ssh/fedora_vm_key \
  --local-ssh-opts="-o StrictHostKeyChecking=no" \
  -c "rsync -avzP \
      -e 'ssh -p 2222 -i /home/fedora/fedora_vm_key \
          -o StrictHostKeyChecking=no \
          -o UserKnownHostsFile=/dev/null' \
      vmfr-test-user@test-vmfr1-fileserver-svc.fedora-vmfr-fedora-vm-test-381f91cf.svc.cluster.local:restores/2026-02-12/test-backup/fedora-vm-test/home/fedora/test-vmfr-file.txt \
      /tmp/restored1.txt"
Warning: Permanently added '[test-vmfr1-fileserver-svc.fedora-vmfr-fedora-vm-test-381f91cf.svc.cluster.local]:2222' (ED25519) to the list of known hosts.
receiving incremental file list

sent 8 bytes  received 8 bytes  32.00 bytes/sec
total size is 0  speedup is 0.00
DEBUG: Command received: rsync --server --sender -vlogDtprze.iLsfxCIvu . restores/2026-02-12/test-backup/fedora-vm-test/home/fedora/test-vmfr-file.txt
rsync: [sender] change_dir "/restores/2026-02-12/test-backup/fedora-vm-test/home/fedora" failed: Permission denied (13)

Version-Release number of selected component (if applicable):

OADP dev

How reproducible:

Always

Steps to Reproduce:

  1. Please follow polarion case: https://polarion.engineering.redhat.com/polarion/redirect/project/OADP/workitem?id=[OADP-759](https://issues.redhat.com/browse/OADP-759)

Actual results:

Rsync command is failing with permission denied error

Expected results:

Files should be downloaded successfully via rsync

Additional info:

Reporter: Prasad Joshi
Assignee: Wes Hayutin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions