Martin Kletzander 9f8da1f666 virt-clone: Copy disk permissions as well
When cloning using libvirt APIs the function virStorageVolCreateXMLFrom
is used.  However name and permissions are taken from the new XML [1].
By copying the permissions (only the mode is used) we can avoid some
unexpected issues.

[1] https://libvirt.org/html/libvirt-libvirt-storage.html#virStorageVolCreateXMLFrom

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2115153
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2023-09-10 11:19:31 -04:00
..
2022-12-13 13:45:16 -05:00
2022-08-04 15:53:33 -04:00
2023-03-22 17:44:06 -04:00
2023-01-19 11:54:03 -05:00
2020-09-05 15:49:55 -04:00
2022-08-03 12:34:47 -04:00