From 5165357f40c780358271f7ae6d31aa14f93e7feb Mon Sep 17 00:00:00 2001 From: JoeSchr Date: Thu, 4 Feb 2021 19:36:04 +0100 Subject: [PATCH] Update data-download.md Fix wrong path Add section about fixing wrong docker permission, if user_data is created by docker, it's permission are set to `root` --- docs/data-download.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/data-download.md b/docs/data-download.md index 4c7376933..cad39ac41 100644 --- a/docs/data-download.md +++ b/docs/data-download.md @@ -264,7 +264,19 @@ If you are using Binance for example: ```bash mkdir -p user_data/data/binance -cp freqtrade/tests/testdata/pairs.json user_data/data/binance +cp tests/testdata/pairs.json user_data/data/binance +``` + +if you your configuration directory `user_data` was made by docker, you may get an error: + +``` +cp: cannot create regular file 'user_data/data/binance/pairs.json': Permission denied +``` + +so you will need to fix your permission by doing: + +``` +chown -R $UID:$GID user_data ``` The format of the `pairs.json` file is a simple json list.