Install transmission daemon in Ubuntu Server and avoid write permission problems

The tip: Change the user who runs the daemon for your user ;)

sudo apt-get install transmission-daemon
/etc/init.d/transmission-daemon stop
sudo nano /etc/init.d/transmission-daemon  # Change USER=your_login_user
sudo nano /etc/default/transmission-daemon # Set CONFIG_DIR="/home/username/.config/transmission-daemon"
transmission-daemon -f    # Ctrl+C
/etc/init.d/transmission-daemon stop
sudo cp /etc/transmission-daemon/settings.json ~/.config/transmission-daemon/settings.json
sudo chown your_user:
your_user ~/.config/transmission-daemon/settings.json
nano ~/.config/transmission-daemon/settings.json

Here, I'll set my parameters:
"download-queue-size": 2,
"incomplete-dir-enabled": true,
"rpc-whitelist": "*.*.*.*",
"rpc-whitelist-enabled": true,
"umask": 2,

/etc/init.d/transmission-daemon start
sudo update-rc.d transmission-daemon defaults


1 comment:

  1. FYI: The daemon will fail silently if the 'incomplete-dir' is a child of the 'download-dir'.