Re: [Qemu-devel] [PATCH] docker: Don't mount ccache db if NOUSER=1

2017-09-28 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > On Mon, Sep 25, 2017 at 4:54 AM, Fam Zheng wrote: >> With NOUSER=1 the container runs code as root, which may create >> privileged files that will not be be accssible next time. Skip ccache >> dir mount in this case. >> >> Signed-off-by: Fam Zheng > > Acked-by:

Re: [Qemu-devel] [PATCH] docker: Don't mount ccache db if NOUSER=1

2017-09-28 Thread Fam Zheng
On Wed, 09/27 23:07, Philippe Mathieu-Daudé wrote: > On Mon, Sep 25, 2017 at 4:54 AM, Fam Zheng wrote: > > With NOUSER=1 the container runs code as root, which may create > > privileged files that will not be be accssible next time. Skip ccache > > dir mount in this case. > > > > Signed-off-by: Fa

Re: [Qemu-devel] [PATCH] docker: Don't mount ccache db if NOUSER=1

2017-09-27 Thread Philippe Mathieu-Daudé
On Mon, Sep 25, 2017 at 4:54 AM, Fam Zheng wrote: > With NOUSER=1 the container runs code as root, which may create > privileged files that will not be be accssible next time. Skip ccache > dir mount in this case. > > Signed-off-by: Fam Zheng Acked-by: Philippe Mathieu-Daudé > --- > tests/doc

[Qemu-devel] [PATCH] docker: Don't mount ccache db if NOUSER=1

2017-09-25 Thread Fam Zheng
With NOUSER=1 the container runs code as root, which may create privileged files that will not be be accssible next time. Skip ccache dir mount in this case. Signed-off-by: Fam Zheng --- tests/docker/Makefile.include | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests