Re: [libvirt] [PATCH] storage: use 0711 as the default perms for dirs

2017-05-15 Thread Christian Ehrhardt
On Fri, May 12, 2017 at 12:36 AM, John Ferlan wrote: > Also your commit message notes "world readable", but by going from 755 > to 711, you're also changing to "group readable" too ;-) > Good catch John, the other feedback seems good, so for now I'm just rewording in regard to this and resubmit

Re: [libvirt] [PATCH] storage: use 0711 as the default perms for dirs

2017-05-15 Thread Christian Ehrhardt
On Mon, May 15, 2017 at 10:27 AM, Daniel P. Berrange wrote: > > Kinda surprised this didn't generate some immediate discussion... I > > would also think that if you had a desire to change defaults you'd also > > have a libvirt.spec.in adjustment... > > Actually no it doesn't - the spec file is a

Re: [libvirt] [PATCH] storage: use 0711 as the default perms for dirs

2017-05-15 Thread Martin Kletzander
On Mon, May 15, 2017 at 09:27:38AM +0100, Daniel P. Berrange wrote: On Thu, May 11, 2017 at 06:36:22PM -0400, John Ferlan wrote: On 05/11/2017 04:31 AM, Christian Ehrhardt wrote: > From: Serge Hallyn > > There should be no need to make dir based pools world readable. > So use 0711, not 0755,

Re: [libvirt] [PATCH] storage: use 0711 as the default perms for dirs

2017-05-15 Thread Daniel P. Berrange
On Thu, May 11, 2017 at 06:36:22PM -0400, John Ferlan wrote: > > > On 05/11/2017 04:31 AM, Christian Ehrhardt wrote: > > From: Serge Hallyn > > > > There should be no need to make dir based pools world readable. > > So use 0711, not 0755, as the default perms for storage dirs. > > > > Signed-o

Re: [libvirt] [PATCH] storage: use 0711 as the default perms for dirs

2017-05-11 Thread John Ferlan
On 05/11/2017 04:31 AM, Christian Ehrhardt wrote: > From: Serge Hallyn > > There should be no need to make dir based pools world readable. > So use 0711, not 0755, as the default perms for storage dirs. > > Signed-off-by: Christian Ehrhardt > --- > docs/formatstorage.html.in | 2 +- > src/st

[libvirt] [PATCH] storage: use 0711 as the default perms for dirs

2017-05-11 Thread Christian Ehrhardt
From: Serge Hallyn There should be no need to make dir based pools world readable. So use 0711, not 0755, as the default perms for storage dirs. Signed-off-by: Christian Ehrhardt --- docs/formatstorage.html.in | 2 +- src/storage/storage_util.h | 2 +- 2 files changed, 2 insertions(+), 2 delet