Re: virt-fs coming soon?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, December 15, 2019 11:33:13 PM MST Samuel Sieb wrote:
> On 12/15/19 8:17 PM, John M. Harris Jr wrote:
> 
> > virt-manager can use your $HOME, without issue. You may run into issues
> > if
> > libvirtd doesn't have permission to enter your home dir though. Let me
> > see
> > what user that's running as.
> > 
> > Oh. It runs as `root`. Yeah, it can access your home directory without
> > issue.
> 
> Actually, no it can't.  qemu runs as the qemu user.  Also, it can only 
> access files with the right selinux permissions.  For example, if you 
> try to add an .iso file from your home directory, virt-manager will ask 
> you if it should change the permissions on the file.
> The new permissions are:
> -rw-r--r--. 1 qemu qemu system_u:object_r:virt_content_t:s0
> The odd thing is if you say no to the changing permission, you will find 
> that the file is now owned by root instead!

Ah, I didn't check to see what the qemu processes were running as, only the 
libvirtd process. Good point.

-- 
John M. Harris, Jr.
Splentity

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux