Re: [PATCH] virtiofsd: Fix check of chown()'s return value

2021-05-13 Thread Laurent Vivier
Le 10/05/2021 à 16:23, Greg Kurz a écrit : > On Mon, 10 May 2021 15:16:23 +0100 > "Dr. David Alan Gilbert" wrote: > >> * Greg Kurz (gr...@kaod.org) wrote: >>> Otherwise you always get this warning when using --socket-group=users >>> >>> vhost socket failed to set group to users (100) >>> >>> Whi

Re: [PATCH] virtiofsd: Fix check of chown()'s return value

2021-05-10 Thread Greg Kurz
On Mon, 10 May 2021 15:16:23 +0100 "Dr. David Alan Gilbert" wrote: > * Greg Kurz (gr...@kaod.org) wrote: > > Otherwise you always get this warning when using --socket-group=users > > > > vhost socket failed to set group to users (100) > > > > While here, print out the error if chown() fails. >

Re: [PATCH] virtiofsd: Fix check of chown()'s return value

2021-05-10 Thread Dr. David Alan Gilbert
* Greg Kurz (gr...@kaod.org) wrote: > Otherwise you always get this warning when using --socket-group=users > > vhost socket failed to set group to users (100) > > While here, print out the error if chown() fails. > > Signed-off-by: Greg Kurz probably needs a fixes: but yes. Reviewed-by: Dr

Re: [PATCH] virtiofsd: Fix check of chown()'s return value

2021-05-07 Thread Greg Kurz
On Fri, 7 May 2021 11:19:07 -0500 Eric Blake wrote: > On 5/7/21 11:12 AM, Greg Kurz wrote: > > Otherwise you always get this warning when using --socket-group=users > > > > vhost socket failed to set group to users (100) > > > > While here, print out the error if chown() fails. > > > > Signed

Re: [PATCH] virtiofsd: Fix check of chown()'s return value

2021-05-07 Thread Eric Blake
On 5/7/21 11:12 AM, Greg Kurz wrote: > Otherwise you always get this warning when using --socket-group=users > > vhost socket failed to set group to users (100) > > While here, print out the error if chown() fails. > > Signed-off-by: Greg Kurz > --- > tools/virtiofsd/fuse_virtio.c |4 ++--

[PATCH] virtiofsd: Fix check of chown()'s return value

2021-05-07 Thread Greg Kurz
Otherwise you always get this warning when using --socket-group=users vhost socket failed to set group to users (100) While here, print out the error if chown() fails. Signed-off-by: Greg Kurz --- tools/virtiofsd/fuse_virtio.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff