cannot access storage file (as uid:107, gid:107)permission denied
2015-11-20 16:41
1671 查看
今天自己编译了spice-protocol spice-gtk spice qemu,然后想用virsh去创建一个虚机:
# virsh define demo.xml
定义域 demo(从 demo.xml)
# virsh start demo
cannot access storage file (as uid:107, gid:107) permission denied
解决方法:
Changing
Uncomment user/group to work as
# virsh define demo.xml
定义域 demo(从 demo.xml)
# virsh start demo
cannot access storage file (as uid:107, gid:107) permission denied
解决方法:
Changing
/etc/libvirt/qemu.confmake working things.
Uncomment user/group to work as
root.
# The user for QEMU processes run by the system instance. It can be # specified as a user name or as a user id. The qemu driver will try to # parse this value first as a name and then, if the name doesn't exist, # as a user id. # # Since a sequence of digits is a valid user name, a leading plus sign # can be used to ensure that a user id will not be interpreted as a user # name. # # Some examples of valid values are: # # user = "qemu" # A user named "qemu" # user = "+0" # Super user (uid=0) # user = "100" # A user named "100" or a user with uid=100 # user = "root" # The group for QEMU processes run by the system instance. It can be # specified in a similar way to user. group = "root" # Whether libvirt should dynamically change file ownership # to match the configured user/group above. Defaults to 1. # Set to 0 to disable file ownership changes. #dynamic_ownership = 1
相关文章推荐
- AD 域控查询命令 dsquery
- UIView的生命周期
- iOS经典讲解之UIImage初始化一张图片的方法及优缺点
- GPUImage简单滤镜使用(一)
- UITextView在光标处插入字符串
- iOS- 添加UIWindow蒙版
- 关于UGUI的EventSystem的学习
- 那些年,我们一起追的面试题。。to be continued!!!
- UIToolBar
- UITextView的动态适应高度处理
- 如何做一个网站 (C# + MVC Web+ easyUI )
- response.setContentType与 request.setCharacterEncoding 区别
- Size Classes与Interface Builder与Imag Asset与Autolayout
- 往resin 服务器中发送post 报 POST requires content-length
- UUID 和 GUID 的区别
- UIAccessibilityElement
- Unique Binary Search Trees II
- 1007. Maximum Subsequence Sum
- 详释(常见UITextView 输入之字数限制)之一---固定长度
- 有关UIView、subview的几个基础知识点-IOS开发 (实例)