Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
70
rated 0 times [  70] [ 0]  / answers: 1 / hits: 207385  / 3 Years ago, sun, may 9, 2021, 4:36:47

I installed Xubuntu and transmission daemon, set the download path to my home/user/TV shows, and get a permission denied when trying to download torrents through the transmission.


I tried chmod -r 777 on this folder without success.


Please help!


Following is the output of ps -ef | grep transmission


chen@htpc:~$ ps -ef | grep transmission
109 1023 1 1 21:46 ? 00:00:35 /usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info

chen@htpc:~$ ps aux | grep transmission
109 1023 3.2 0.4 47684 16620 ? Ssl 21:46 1:20 /usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info
chen 1852 0.0 0.0 4200 772 pts/0 S+ 22:27 0:00 grep --color=auto transmission

enter code here

More From » permissions

 Answers
2

Assuming the path to the download folder is /home/chen/TV shows, run the following:




  • add chen to the debian-transmission group



    sudo usermod -a -G debian-transmission chen

  • change the folder ownership



    sudo chgrp debian-transmission /home/chen/TV shows

  • grant write access to the group



    sudo chmod 770 /home/chen/TV shows

  • Stop the deamon with



    sudo service transmission-daemon stop

  • The last thing to do is change the file creation mask, so that the downloaded files would be writeable by chen.



    sudo nano /etc/transmission-daemon/settings.json


    … and change "umask": 18 to "umask": 2. Hit Ctrl+O to save and Ctrl+X to exit.




Start the daemon with



sudo service transmission-daemon start

[#34080] Sunday, May 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tresein

Total Points: 197
Total Questions: 113
Total Answers: 112

Location: Hungary
Member since Wed, Nov 9, 2022
2 Years ago
tresein questions
Tue, Jun 28, 22, 17:57, 2 Years ago
Sun, Apr 3, 22, 07:11, 2 Years ago
Thu, Feb 3, 22, 18:03, 2 Years ago
Sat, May 13, 23, 13:00, 1 Year ago
;