Variation on locked file problem - maybe?

**Sonarr version (2.0.0.3953):
**Windows 10:
**Copied file in TV folder cannot be deleted

OK, I’m using Sonar and uTorrent to download the files. Sonar copies (and renames) the files to my TV Shows folder and I stream them to my Android TV box using Plex Server on Windows, and Plex Player on Android. This works just fine 98% of the time.

I’m not someone who keeps a video library, so when I’ve watched a show, I generally delete it using the Plex Player support to delete it from the Windows file system.

This works fine mos of the time, but once in a while, the delete fails.

I go to the Windows system to do a manual delete, and Windows says it cannot delete it either because it is held by uTorrent

How can uTorrent be holding it? It has a totally different name than the one uTorrent created in the download, the name is the one Sonarr used when it copied it.

So this is not a repeat of the problems in deleting the uTorrent downloaded files, these are the files created by Sonarr.

But if I re-cycle uTorrent, I can then delete the file just fine.

Weird. Any thoughts on just what is going on?

George

Because a Hard Link was created (based on your Download Client settings) instead of a copy being made. A Hard Link isn’t a copy of a file its a pointer to the same file, either side can be deleted but because Windows apps lock files when in use the hardlink gets locked as well. Hardlinks don’t take up additional disk space, but copies do.

OK, that makes sense then. But your answer seems to imply there is something in the Download Client settings that can affect this. But I see nothing there. Am I missing it? Or did I mis-understand?

George

Not the locking (uTorrent is the one locking the file for access), just whether Sonarr copies the file or makes a hard link of it.

Many thanks. I was looking for the setting in the wrong place, It’s under Media Management (Duh!).

George

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.