Sonarr version: 2.0.0.5228
OS: Linux Docker
I am new to Linux and Docker but have followed this guide to setup Sonarr within a Docker container on a Linux VM. When trying to add TV shows from a cifs mounted samba share I am getting the following error “Folder not writable by user abc”.
Sonarr docker is installed via a compose yml with the following
sonarr:
image: "linuxserver/sonarr"
container_name: "sonarr"
volumes:
- ${USERDIR}/docker/sonarr:/config
- ${USERDIR}/mnt/complete:/downloads
- ${USERDIR}/mnt:/tv
- "/etc/localtime:/etc/localtime:ro"
- ${USERDIR}/docker/shared:/shared
ports:
- "8989:8989"
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
My environment variables are within a file.
PUID=1000 (user is Linux)
PGID=999 (group is docker)
TZ="Europe/London"
USERDIR="/home/linux"
The samba share is mounted with the following in fstab.
//192.168.1.20/TVShows1$ /home/linux/mnt/tvshows1 cifs credentials=/home/linux/.smbcredentials,iocharset=utf8,uid=1000,gid=999 0 0
Here is a screen shot of the permissions within the /home/linux/mnt folder.
Even when setting everything within /home/linux/mnt at 777 I was unable to add the mounted share. As far as I can see my Linux server doesn’t have a user called ‘abc’. Please can someone advise where I am going wrong?