On 2020-05-07 20:11, Sreyan Chakravarty wrote:
> I have a file for a Windows 10 VM in my home folder under a folder called 
> virt-manager:
>
> /home/sreyan/virt-manager/Windows 10-disk001.qcow2
>
> When I try to switch on the VM from virt-manager it fails with:
>
>
> SELinux is preventing worker from read access on the file 
> /home/sreyan/virt-manager/Windows 10-disk001.qcow2.

Because you are placing the file in a "non-standard" area which doesn't conform 
to the
selinux policy for that application.

If you want to use that directory you need to create a local policy as 
described.

Any reason for not placing it in the standard area?  /var/lib/libvirt/images

-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to