Answer the question
In order to leave comments, you need to log in
How to download torrents via transmission-daemon to a folder with www-data permissions?
I want to make friends with Nextcloud and Transmisssion, for this I try to download torrents to the Nextcloud data folder, which has the following rights drwxr-xr-x 1 www-data www-data 0 Jun 16 17:40 Downloads.
When trying to download Transmisssion writes the error "Permission denied (/media/myCloudDrive/ncdata/User/files/Downloads/Triple border_2019_WEB-DLRip.avi)"
Tell me where to dig?
Answer the question
In order to leave comments, you need to log in
I did this: I
added the debian-transmission user to the www-data group, then:
sudo setfacl -Rm u:debian-transmission:rwX /media/myCloudDrive/ncdata/User/files/Downloads
sudo setfacl -Rdm u:debian-transmission:rwX /media/myCloudDrive/ncdata/User/files/Downloads
In my opinion, there are several options:
1. Run Transmission as the www-data user (which is not very good)
2. Create a subfolder with the necessary rights (and / or at the same time create a group, add the Transmission user to it, and also add everyone who access to this folder will be allowed), you don't have to download to the root ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question