From 5f616782fd3d4e3cb88d2d35b0898707e91ba60b Mon Sep 17 00:00:00 2001 From: Gereon Frey Date: Sun, 24 Feb 2019 14:25:24 +0100 Subject: [PATCH] Fix file permissions Using the user's uid and gid in the container prevents the output files to belong to root. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c892e2..34b16c1 100755 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ If the command isn't found, ensure your `$PATH` contains `~/.composer/vendor/bin Or if you wish to use Docker, the start of the command will be : ```bash -docker run --rm -it -w /build -v "$PWD":/build daux/daux.io daux +docker run --rm -it -w /build -v "$PWD":/build -u "$(id -u):$(id -g)" daux/daux.io daux ``` ## Run on a server