Re: [libvirt] [PATCH] qemu: Make sure qemu can access its directory in hugetlbfs

2012-04-30 Thread Jiri Denemark
On Sat, Apr 28, 2012 at 15:27:12 +0800, Osier Yang wrote: On 2012年04月27日 22:45, Jiri Denemark wrote: When libvirtd is started, we create libvirt/qemu directories under hugetlbfs mount point. Only the qemu subdirectory is chowned to qemu user and libvirt remains owned by root. If umask was

Re: [libvirt] [PATCH] qemu: Make sure qemu can access its directory in hugetlbfs

2012-04-28 Thread Osier Yang
On 2012年04月27日 22:45, Jiri Denemark wrote: When libvirtd is started, we create libvirt/qemu directories under hugetlbfs mount point. Only the qemu subdirectory is chowned to qemu user and libvirt remains owned by root. If umask was too restrictive when libvirtd started, qemu user may lose access

[libvirt] [PATCH] qemu: Make sure qemu can access its directory in hugetlbfs

2012-04-27 Thread Jiri Denemark
When libvirtd is started, we create libvirt/qemu directories under hugetlbfs mount point. Only the qemu subdirectory is chowned to qemu user and libvirt remains owned by root. If umask was too restrictive when libvirtd started, qemu user may lose access to qemu subdirectory. Let's explicitly grant