You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @the8472, thanks for the report. I haven't used VB shared volumes before, could you give me some more information about the setup you're using and I'll reproduce locally:
host: you can either use the GUI or the VBoxManage CLI to setup a shared folder. In the GUI it's under virtual machine properties -> shared folders. You need to specify some directory which needs to be shared, as writable and give it a label such as foo.
guest mkdir /mnt/bar (root)
guest mount -t vboxsf foo /mnt/bar (root or member of the vboxsf group)
guest xcp /tmp/test.in /mnt/bar/
I think all that's needed to fix this is to treat the syscall error codes in the strace output above as if the calls aren't available. Note that the rust standard library already does automatic fallback to userspace copy if copy_file_range returns EINVAL.
Copying to a virtualbox filesystem leads to xcp printing an error and not copying the files.
after adding
--no-perms
kernel 5.10.11
The text was updated successfully, but these errors were encountered: