Import failed ... access denied

Version: 2.0.0.5344 - 2020-03-13
OS: Raspian 10

There are a number of posts on this topic - but I wasn’t able to extract a solution from any of them…

Here’s the entry in fstab to mount the drive where the episodes are to be copied to:
//NAS/shared/ /mnt/public cifs user=xxx,password=yyy,uid=1000,gid=1000,dir_mode=0777,file_mode=0777,nounix,vers=1.0 0 0

So, full access for all… The Sonarr service is configured in /lib/systemd/system/sonarr.service:

[Unit]
Description=Sonarr Daemon
After=syslog.target network.target

[Service]
User=pi
Group=pi

Type=simple
ExecStart=/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

It seems to work on some episodes but not with others…

I’ve been searching for solutions for a few days now and I’m stumped.

Thanks in advance to anyone that can assist.

Best regards,
Andrew

In the meantime, I’ve noticed that this only affects folders that were already present when I installed Sonarr… If Sonarr creates the folder itself, everything works fine.

I’m stumped, since as mentioned before, The permissions are all “777”… If I look at folders that were there previously and folders that Sonarr created, their permissions are indistinguishable.

Can anyone point me in the right direction?

Thanks!