From 385454e6026e25b48bd15f76c237f88955f07088 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 30 Nov 2019 00:01:22 +1100 Subject: Fix output file permissions when using docker build. (#7378) --- util/docker_build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/docker_build.sh b/util/docker_build.sh index 99d59d1696..d8c4c759a3 100755 --- a/util/docker_build.sh +++ b/util/docker_build.sh @@ -51,6 +51,7 @@ dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows # Run container and build firmware docker run --rm -it $usb_args \ + --user $(id -u):$(id -g) \ -w /qmk_firmware \ -v "$dir":/qmk_firmware \ -e ALT_GET_KEYBOARDS=true \ -- cgit v1.2.3