Raspberry Pi 2
OSMC October release
NTFS formatted harddrive connected via USB (accessed via /media/myusbdrive/)
Transmission accessed via webUI on a laptop within same home network
download folders:
/media/myusbdrive/Downloads/incomplete ← thats my incomplete folder
/media/myusbdrive/TV Shows ← thats the default download location
/media/myusbdrive/TV Shows/nameofshow ← that’s an example of what I do using “Set Location”
The issue: “Permission denied” error in Transmission. But it does not always happen always! It happens:
When I add 1 magnet to Transmission, in most cases it just downloads, even if I use Set Location (example above).
When I add 2 magnets, one of them shows “Permission denied” as soon as it starts downloading (after it has received metadata) or immediately after I use Set Location.
When I add 3 magnets, in ALL cases, 2 of them show “Permission denied”, even without using Set Location. The third one finishes downloading.
I checked the transmission.service file, it seems fine, I did add Nice=7 a while ago but I removed it (stopped the service, reloaded systemctl, restarted the service, also rebooted a couple of times since then):
I did some more testing and it seems I now always get Permission denied when downloading to the default folder (/media/mysusbdrive/TV Shows) or a subfolder of that one.
But if I add a magnet, pause it immediately, change the location to /myusbdrive/Movies and resume, it downloads fine!
Even if I change the location when the download is at 13%, to /TV Shows/subfolder, it finishes successfully without Permission denied!
This means Transmission DOES have permission to write to /TV Shows/ folder. But I have enabled incomplete folder, so it should not be related to /TV Shows/ at all…
It seems the system sometimes blocks Transmission’s access to the drive.
the dots are just links to the higher directory. ie. cd ..
My next guess is that it has something to do with the NTFS filesystem it looks like you’re using. I use ext4, though as it’s much more compatible with linux so I’ve never run into problems like you’re having.
Solved by deleting /osmc/.config/transmission-daemon/ (probably wasn’t necessary though) and creating a new folder for my tvshows. After succesfull tests with Transmission I moved all my media to that folder and deleted the troubled folder. After that I renamed the new folder and all still worked fine. I must have messed up something while figuring out stuff for Syncthing. All good now.