From 8934a55a5fed968dd8e87624350246f1a9b708a1 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 23 Oct 2018 12:35:40 -0400 Subject: [PATCH] fix(docs): Add line setting proper permissions in README There has been some confusion after we switched the Docker images to use a non-root user. It's now fairly easy for permissions to be set incorrectly. This line in the example script should make things right. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index de805e6..bfc3877 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,9 @@ set -x # create directories mkdir /code /data +# set proper permissions. make sure the user matches your `DOCKER_USER` setting in `.env` +chown 1000:1000 /code /data + # clone repo cd /code git clone https://github.com/pelias/docker.git