Page 1 of 1

Transmission permissions

Posted: Thu Aug 09, 2012 8:12 pm
by Derkomai
Hello. I've installed transmission and configured it following this tutorial. However, when i run web interface, and after downloading a couple of MB, Transmission shows "Permission denied" error.

It seems like a permissions problem. I've tried chmod to change the downloads folder permisions. I also edited umask value in settings.json file and added my user to debian-transmission group, but nothing works, and i definitely ran out of ideas, because i'm a total noob (it's my 3rd day with the pi.)

┬┐Any ideas?

Thanks.

Re: Transmission permissions

Posted: Fri Aug 10, 2012 7:32 pm
by kennyvb
does the user that runs tranmission have write permission to the download dir ?

Re: Transmission permissions

Posted: Mon Aug 13, 2012 2:47 pm
by Derkomai
When i run "ls -l" i see the download directory is owned by debian-transmission and 777 permissions. Is anything more neccesary?

Re: Transmission permissions

Posted: Mon Aug 13, 2012 2:54 pm
by bredman
Check the contents of the transmission log file to see if any errors are reported.

I'm not sure where this log file is stored, but this command will find it for you
sudo find / -name transmission.log

Re: Transmission permissions

Posted: Mon Aug 13, 2012 10:29 pm
by Derkomai
When i run that, nothing seems to happen, and no error is printed.

Re: Transmission permissions

Posted: Wed Oct 03, 2012 3:43 am
by benchu2012
i found that because transmission has two download locations: "download-dir" and "incomplete-dir" [assuming this incomplete-dir-enabled is true] you need to set permissions correctly for both otherwise the permission denied error occurs.

Re: Transmission permissions

Posted: Wed Oct 31, 2012 8:44 am
by Orionn
I ended up having to use the setfacl command.

Code: Select all

chmod g+s /home/pi/downloads
setfacl -m u:debian-transmission:rwx /home/pi/downloads
setfacl -d -m g::rwx /home/pi/downloads
setfacl -d -m o::rwx /home/pi/downloads
setfacl -m o::rwx /home/pi/downloads
setfacl -m g::rwx /home/pi/downloads
Once you do that, any file that is created in that directory can be read and written by others.