Safari and .torrent files

Know why Safari won’t activate Transmission the second you click on a .torrent file even if you already told OS X to open .torrent files with Transmission? By default, Safari doesn’t consider .torrent files safe and hence will only download them.

To override this, simply create a plain text file named com.apple.DownloadAssessment.plist with the following code inside and put it in ~/Library/Preferences/

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com-PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LSRiskCategorySafe</key>
<dict>
<key>LSRiskCategoryExtensions</key>
<array>
<string>torrent</string>
</array>
</dict>
</dict>
</plist>
This entry was posted in geek and tagged , , . Bookmark the permalink.