cprins1908
Posts: 10
Joined: Mon Jun 22, 2015 6:57 pm

Transmission error Permission Denied

Fri Aug 28, 2015 12:50 pm

Dear all,

I installed Transmission as a Torrent server
When I login to this program via my web browser on my local PC, the download will start but stops after a couple of megabites with the following error
Error: Permission denied (/htpc_d/***.avi

I check and I can simply make folders and copy files to this (mounted) folder.

What's going wrong in here

tevil
Posts: 35
Joined: Fri Feb 15, 2013 1:56 pm

Re: Transmission error Permission Denied

Fri Aug 28, 2015 1:13 pm

going through my own issues with transmission, maybe we can help each other.
YOU may have permissions to read/write to the sd/thumb drive whatever your save point it but transmission might not.
Just give permissions to "anyone" for the folder you wish to download to, that makes it easy for the app.

Read my post just below yours, as since you are just setting up I would like to know if you get the same issues I do with your PI on downloading.

my post
viewtopic.php?f=28&t=118164

cprins1908
Posts: 10
Joined: Mon Jun 22, 2015 6:57 pm

Re: Transmission error Permission Denied

Fri Aug 28, 2015 2:49 pm

Thank you for your quick reply.
It defently fas something to do with permissions.
I changed the download path to /home/pi and than the download runs fine.
The share I'm using is a mount from a Windows machine but if I run sudo chmod 777 /htpc_d I get permissions denied
How can I use this folder as a download folder?

cprins1908
Posts: 10
Joined: Mon Jun 22, 2015 6:57 pm

Re: Transmission error Permission Denied

Fri Aug 28, 2015 3:11 pm

Solved

Adding file_mode=0777,dir_mode=0777 to the mount line in fstab did the trick

tevil
Posts: 35
Joined: Fri Feb 15, 2013 1:56 pm

Re: Transmission error Permission Denied

Fri Aug 28, 2015 3:36 pm

cool, glad you got it fig'd out. Let me know if you run into the errors I was with downloading. Would love to get this sorted out.

Can I ask why you are using the pi to download but still sending the files to your windows machine? I download to the pi so certain files can be scanned first then only whats needed can be transferred

cprins1908
Posts: 10
Joined: Mon Jun 22, 2015 6:57 pm

Re: Transmission error Permission Denied

Fri Aug 28, 2015 5:32 pm

Untill now I always used a windows server for all kind of tasks.
Now I'm trying to use the PI for these tasks.
So in the end I will replace the Windows server with a Nas for the storage and use the PI for a several server tassk (including a home theater machine)
Since the windows server is running fine an my family is heavily depending on the movies and music served by the HTPC server I want to take it step step.

The first download was ok but as soon as I run into trouble (and able to solve it) I will let you know

Cheers

tevil
Posts: 35
Joined: Fri Feb 15, 2013 1:56 pm

Re: Transmission error Permission Denied

Fri Aug 28, 2015 7:56 pm

cool,

Like i said in my post some files I wont even notice because they finish so fast I wont even watch but then some bigger ones get hung up.
Never had this issue with windows/utorrent or even my old first gen pi using transmission.

you using the GUI or strictly console?

ezmuzzy
Posts: 1
Joined: Thu Dec 13, 2018 2:03 am

Re: Transmission error Permission Denied

Thu Dec 13, 2018 5:50 am

cprins1908 wrote:
Fri Aug 28, 2015 3:11 pm
Solved

Adding file_mode=0777,dir_mode=0777 to the mount line in fstab did the trick
I had to create an account and mention that this post saved me a lot of headache! Many of the solutions I looked at were ridiculously over complicated for something that seemed so simple. This fixed it for me.

My setup is:

VM of FreeNAS running a SMB(Windows) share w/ Windows credential
A Pi running Raspbian with Transmission running through a VPN

All of my other Linux clients, both servers and desktops, could mount and access the shared drive with no problem. But for some reason Transmission running on Raspbian couldn't. The above addition to my fstab was all it took to fix it.

Thanks you!

Return to “Troubleshooting”