PermissionError: [Errno 13] Permission denied: '/config/settings.cfg'
Closed this issue · 4 comments
@jamauai By default SeedSync runs as the non-privileged user 1000 in the docker container. If your settings are owned by a different user, then you will get these permission errors. You need to use the --user
argument in docker run
to run as a different user. See https://ipsingh06.github.io/seedsync/install/#docker-image-linuxubuntu-raspberry-pi as well.
Will run another test and report back. I have the user defined in Docker UI yet still get the permissions error. Forgot to include "user" when testing CLI.
You've missed the mapping for the incoming folder. I also don't think you would want to store the config files directly in the folder you defined. You might want to have them in a config folder all safe and such.
Since your running Docker on Synology, run this but change the vars to match what you are using.
sudo docker run --name SeedSync -p 8802:8800 -v /volume3/Sync/Seedbox/z-config:/config -v /volume3/Sync/Seedbox/1-Incoming:/incoming --user 1039:65539 ipsingh06/seedsync:latest
You may need to also include a lang definition in the container settings once the container is built. This would depend on which lang your seedbox server is set to.
There are a couple of threads from users here that are running Docker on Synology. It's a little different beast than vanilla Docker and needs some tweaking.