Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 4589  / 1 Year ago, sat, april 1, 2023, 5:14:06

I have a small partition for linux and a big partition that is ntfs so I can share files with my windows installation.



I want to use transmission-daemon (this is a console-only installation) and I want it to download in the ntfs partition.



The problem is that transmission reports "Permission Denied" when trying to save the downloaded torrents. I assume this is because all permissions on ntfs are rwXwrX--- (which means no access for other users, and transmission-daemon is other user). The worst part is that I cannot chmod o+rwX /media/ntfspartition/torrents/ -- it just doesn't work, it's ntfs.



In this particular case neither can i use transmission-gtk



So, how can I make transmission-daemon download to a ntfs folder?



Thanks in advance for your help.


More From » ntfs

 Answers
3

Well, looking at the script that is put in /etc/init.d/transmission-daemon, the user name we want to ensure has the proper permissions is called debian-transmission. Given that NTFS does not support Linux permissions, we have to mount the NTFS partition in a way that will let debian-transmission write to it.



We want to add debian-transmission to a certain group (one where you are also a member, obviously) and let that group have write access to the partition.



The steps are as follows:




  1. Add a group, say ntfs-users.

  2. Add yourself to the group.

  3. Add debian-transmission to the group.

  4. Edit /etc/fstab as per detailed instructions here.

  5. You need to log out and in again to have the new group membership, as does debian-transmission (restart service), and the partition has to be unmounted and mounted again. Either do all of those manually, or just restart your system if that is an option.



From how you phrased your question, it seems that you are proficient with Linux, so I will assume that you can either carry out those steps without further instruction or find out how with ease. Best of luck. :-)


[#40462] Sunday, April 2, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
emuralm

Total Points: 290
Total Questions: 111
Total Answers: 117

Location: China
Member since Thu, Sep 1, 2022
2 Years ago
;