This covers installing transmission and downloading to system sd card. I will also add downloading to external hdd or usb drive. Source
$ sudo apt update $ sudo apt install transmission-daemon $ sudo service transmission-daemon stop $ getent passwd |grep trans $ sudo usermod -a -G pi debian-transmission $ sudo chmod 775 /etc/transmission-daemon/settings.json $ sudo vim /etc/transmission-daemon/settings.json
In this file I chose to be able to log in from any IP by setting:
Also set the login username and password by editing:
"rpc-password": "password", "rpc-username": "transmission",
Set umask to 002 so new files have the right permissions in the download folder:
Now restart transmission:
$ sudo service transmission-daemon restart
Now you can go to pi’s ip:9091 in your browser and should be able to see the web gui.
Using a USB drive for downloads:
FAT / FAT32 formatted drives don’t support file permissions. The permissions for everything are determined by how the drive is mounted.
$ sudo mount /dev/sdb2 /home/storage -o umask=000
As for it not auto mounting on reboot
UUID=8C52-C1CD /home/storage auto user,umask=000,utf8, –>noauto<– 0 0
The "noauto" makes this NOT automatically mount when the system starts and parses the /etc/fstab file. Remove that option and it will mount on startup. You can set the permissions on the mount point once it's mounted with chmod or specify them in /etc/fstab.
If you need the media user to access it, you can set the permissions to 764, and add them to the security group. Root always has access to everything.