Transmission error : Access denied Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
LeVraiRoiDHyrule
Posts: 18
Joined: Tue Apr 28, 2020 3:00 pm

Transmission error : Access denied

Post by LeVraiRoiDHyrule »

Hi,

I've got lots of issues with Transmission recently. I can't figure out how to fix this.
I'm trying to download torrent directly to my external HDD instead of the dietpi_userdata folder. Downloading a torrent to the micro SD works, but not on the external HDD. The HDD is ext4 formatted and mounted in /mnt.

When I try to download a torrent to this location, the download works for a few minutes then it just stops. I can't relaunch it.

Image

I have the error "permission denied". I don't understand why, I'm logged in with root user, as mentionned in the dietpi docs, and it even worked for some minutes. I tried reinstalling transmission, didn't work. The issue is still there.

I searched a lot on the issue, didn't find anything on it.
Any help is welcome
Have a good day
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Transmission error : Access denied

Post by Joulinar »

Hi,

many thanks for your report. Pls can you provide following

Code: Select all

ls -la /mnt/westernhdd/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
LeVraiRoiDHyrule
Posts: 18
Joined: Tue Apr 28, 2020 3:00 pm

Re: Transmission error : Access denied

Post by LeVraiRoiDHyrule »

Joulinar wrote: Tue Jun 30, 2020 5:37 pm Hi,

many thanks for your report. Pls can you provide following

Code: Select all

ls -la /mnt/westernhdd/
Thanks for your reply
(sorry if I'm asking a lot of questions at the same time in this forum. This one is the big one right now)

Here is the report you asked for :

Image

Hope it helps. Have a good day
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Transmission error : Access denied

Post by Joulinar »

Hi,

your folder Downloads belongs to user and group root. Means, root is the only one who is able to write to this folder. The user root you are using to login to Transmission has nothing to do with OS level user root. Both are completely different user. One is on OS level, while the other just exist inside Transmission application. On OS level, Transmission themselves is excecuted as user debian-transmission with group dietpi. Means for you 2 possibel solutions:
  1. change Owner:Group of folder Downloads to debian-transmission:dietpi
  2. change permission for folder Downloads to 777 if you not mind the security gap
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
LeVraiRoiDHyrule
Posts: 18
Joined: Tue Apr 28, 2020 3:00 pm

Re: Transmission error : Access denied

Post by LeVraiRoiDHyrule »

Joulinar wrote: Tue Jun 30, 2020 10:57 pm Hi,

your folder Downloads belongs to user and group root. Means, root is the only one who is able to write to this folder. The user root you are using to login to Transmission has nothing to do with OS level user root. Both are completely different user. One is on OS level, while the other just exist inside Transmission application. On OS level, Transmission themselves is excecuted as user debian-transmission with group dietpi. Means for you 2 possibel solutions:
  1. change Owner:Group of folder Downloads to debian-transmission:dietpi
  2. change permission for folder Downloads to 777 if you not mind the security gap
Thanks a lot for your answer. It worked !!!!

I used the 1st solution, using dietpi-explorer. I thank dietpi everyday for allowing me to do all these things without having to search a complex syntax for a command.

Thanks a lot again for your help, you helped me so much on that forum. I guess it's not always easy to help noobs but what you are doing is extremely useful. Have a great day.
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Transmission error : Access denied

Post by Joulinar »

your welcome
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply