Opened 8 years ago
Last modified 7 years ago
#5474 new Bug
Check if you can write to the Torrent's Directory before starting to download
Reported by: | puunjab | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | None Set |
Component: | Transmission | Version: | 2.82 |
Severity: | Minor | Keywords: | |
Cc: | eirnym@… |
Description
I use TrueCrypt? for Mac in order to encrypt all my downloads and I leave a 20 gig encrypted directory as the default location for Transmission torrents.
If I forget to mount the encrypted drive first, Transmission still starts to download the torrent for up to a couple of minutes before it figures out that the drive is not there. I am guessing you use a temp space buffer/file in the beginning or it's done in memory. Then the torrent fails with an "unable to write to directory" type message.
If I save the torrent files, delete them, and then re-add them after I mount the TrueCrypt? drive, Transmission crashes. It's probably due to some pointer held over in memory. It's not a major issue and I always can work around it.
But, I think it would be better for you to simply check if you have write permission to the torrent's directory before you start downloading. Doesn't matter if it's a magnet or an actual torrent file. You need permission to write to the torrent's directory or why start downloading?
Otherwise, I can kick one off expecting it to have completed before I ever realize I forgot to mount the drive.
Thanks.