Issue 67: not working with transmission-daemon
Status:  WontFix
Owner: ----
Closed:  Dec 2012
Reported by graphict...@gmail.com, Aug 24, 2012
What steps will reproduce the problem?
1. installed transmission-daemon
2. added:

    "script-torrent-done-enabled": true, 
    "script-torrent-done-filename": "/home/mario/torrentexpander/torrentexpander.sh",

to 

/$HOME/.config/transmission-daemon/settings.json

3. the script never gets triggered by transmission-daemon but works fine in transmission cli


Using torrentexpander v0.20? On ubuntu 11.10 desktop?


using transmission-daemon 2.60 (13375)
.

Aug 24, 2012
Project Member #1 addicted...@gmail.com
Hi
You should take a look at this bug report
https://code.google.com/p/torrentexpander/issues/detail?id=66&can=1
To sum things up : Transmission may be run from a different user that does not have execute privileges on torrentexpander or write privilege on your destination directory.

Please let me know how that works for you
Aug 25, 2012
#2 graphict...@gmail.com
Won't changing user in transmission from transmission-daemon to user introduce security issues?

Will this work from http://linuxplained.com/install-transmission-web-interface-on-ubuntu-1204/

"It is recommended that Transmission runs under it’s own username for security reasons. This creates a few issues with file and folder access by Transmission as well as your account (let us assume it is user). You will have to create a new set of folders for Transmission to read/write/execute (example: transmission folder containing these subfolders: completed, incomplete, and torrents). The account mario also needs full control over these folders and their contents. I recommend reading this post <http://linuxplained.com/safely-change-primary-group-group-in-linux/>to familiarize yourself with safely changing user groups and permissions."

First, cd to the desired folder and create a folder for Transmission to use:
cd /home/user/Downloads
mkdir transmission
cd transmission
mkdir completed incomplete torrents

Then, add the username to the group debian-transmission:

sudo usermod -a -G debian-transmission user

This will add debian-transmission as a secondary group to the account user, resulting in access to both Transmission and user. Then, change the ownership of the Transmission download folders to the group debian-transmission:

sudo chgrp -R debian-transmission /home/user/Downloads/transmission

Next, change the permissions for the transmission download folders to allow read, write, and execute for Transmission and mario:

sudo chmod -R 775 /home/user/Downloads/transmission
Dec 2, 2012
Project Member #3 addicted...@gmail.com
I'll add this to the wiki

Thanks for your input

   Addictedtoscreens
Status: WontFix