coreos / fedora-coreos-docs

Documentation for Fedora CoreOS
https://docs.fedoraproject.org/en-US/fedora-coreos/
Other
51 stars 123 forks source link

Add permissions tip #605

Closed buckaroogeek closed 8 months ago

buckaroogeek commented 9 months ago

Add a user permission tip for libvirt provisioning. Unprivileged user qemu needs access to user's home directory and the storage directory for the image. chmod a+x can be used as one option. Thanks to Timothée Ravier for pointing this out.

jlebon commented 8 months ago

We cannot recommend these steps for security reasons.

But anyway if you're running unprivileged, isn't libvirt and qemu running under your user?

Closing this, but we can keep talking here to debug your issue!

travier commented 8 months ago

This happens when as an unprivileged user, you create a VM using the system libvirtd pointing to a backing store file in you home directory.

You should either: