bt-sync / sync-docker

Resilio Sync docker image
https://www.resilio.com
178 stars 59 forks source link

Permission issues #23

Closed skupfer closed 6 years ago

skupfer commented 6 years ago

While trying from moving all my services to docker I stumbled across sync-docker. I got it up and running with the following command

#!/bin/bash

DATA_FOLDER=/home/myusername/git/sync-docker/sync
WEBUI_PORT=8888

mkdir -p /home/myusername/git/sync-docker/sync

docker run -d --name Sync \
  -p 127.0.0.1:$WEBUI_PORT:8888 -p 4242:55555 \
  -v $DATA_FOLDER:/mnt/sync \
  --restart on-failure \
  resilio/sync

I can access the webui with port forwarding and tried to add a link/key but I receive the following error while trying to add to /mnt/download/ and /mnt/sync/download where "download" is the name provided by the link

Sync Home does not have permission to access this folder