From 72f4cbd65daf21be97df160d1c06a5b0c966800f Mon Sep 17 00:00:00 2001 From: Lu Pa Date: Sat, 19 Dec 2020 14:11:11 -0300 Subject: [PATCH] :bug: Solve permission issue #1240 --- docker/images/n8n/docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/images/n8n/docker-entrypoint.sh b/docker/images/n8n/docker-entrypoint.sh index 153d01690d62c..fa81b3713ca54 100755 --- a/docker/images/n8n/docker-entrypoint.sh +++ b/docker/images/n8n/docker-entrypoint.sh @@ -6,6 +6,8 @@ if [ -d /root/.n8n ] ; then ln -s /root/.n8n /home/node/ fi +chown -R node /home/node + if [ "$#" -gt 0 ]; then # Got started with arguments exec su-exec node "$@"