-
Notifications
You must be signed in to change notification settings - Fork 128
Running Oz as non root
Chris Lalancette edited this page Sep 20, 2013
·
5 revisions
As of Oz 0.9.0, oz-install has the ability to do installs as a non-root user. There are a couple of caveats to this support:
- The user that wants to run Oz must have access to the libvirt system session (typically qemu:///system). This can be through permissions, through PolicyKit, or through any other supported libvirt mechanism, but "virsh -c qemu:///system list" must work. More info: http://libvirt.org/auth.html.
- The entire chain of directories leading up to the place where the user wants to store the diskimage must be readable and executable (chmod o+rx /path/to/location). This is because libvirt will usually run the guest as qemu:qemu, meaning that user has to be able to open the diskimage for writing.