'Permission denied for virtual disk

I try

[root@host1 81936aba-1f00-4fac-a69b-dfd69d290c3d]# qemu-img info 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10

result:

qemu-img: Could not open '6c96bc5c-b6ac-442d-8581-2fb89f3d9a10': Could not open '6c96bc5c-b6ac-442d-8581-2fb89f3d9a10': Permission denied

access rights:

-rw-rw----. 1 vdsm kvm 1073741824 мая 11 19:16 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10
-rw-rw----. 1 vdsm kvm    1048576 фев 16 14:38 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10.lease
-rw-r--r--. 1 vdsm kvm        331 фев 16 14:38 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10.meta

What should I do?



Solution 1:[1]

sudo -u vdsm -g kvm

solved my problem

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 omgzomg