Re: [libvirt] [PATCH] storage: Inherit permissions of parent pool if they are not specified

2011-09-20 Thread Osier Yang
于 2011年09月21日 03:27, Eric Blake 写道: On 09/20/2011 11:05 AM, Laine Stump wrote: On 09/20/2011 04:38 AM, Osier Yang wrote: If permissions (mode, uid, gid) are not specified, a new created vol will get the permissions like: mode = 0600 uid = -1 gid = -1 This will be a bit surprised if the user d

Re: [libvirt] [PATCH] storage: Inherit permissions of parent pool if they are not specified

2011-09-20 Thread Eric Blake
On 09/20/2011 11:05 AM, Laine Stump wrote: On 09/20/2011 04:38 AM, Osier Yang wrote: If permissions (mode, uid, gid) are not specified, a new created vol will get the permissions like: mode = 0600 uid = -1 gid = -1 This will be a bit surprised if the user define the pool with a non-root uid/gi

Re: [libvirt] [PATCH] storage: Inherit permissions of parent pool if they are not specified

2011-09-20 Thread Laine Stump
On 09/20/2011 04:38 AM, Osier Yang wrote: If permissions (mode, uid, gid) are not specified, a new created vol will get the permissions like: mode = 0600 uid = -1 gid = -1 This will be a bit surprised if the user define the pool with a non-root uid/gid, but the new created vol is

[libvirt] [PATCH] storage: Inherit permissions of parent pool if they are not specified

2011-09-20 Thread Osier Yang
If permissions (mode, uid, gid) are not specified, a new created vol will get the permissions like: mode = 0600 uid = -1 gid = -1 This will be a bit surprised if the user define the pool with a non-root uid/gid, but the new created vol is still defined as root/root. This patch change