You are not logged in.

#1 2015-08-13 11:08:13

stilllife00
Member
Registered: 2015-08-13
Posts: 7

[Solved] Transmission daemon permission error

I am using transmission daemon to download torrents and I access it with transmission remote cli.
I want to have the downloaded files on my home folder so it can be accessed from an FTP server

Since when I've changed the daemon config to store in /home/mirko/shared I get "Permission error" and the torrent won't download.

I've followed many guides and gave folder write/read permission to the 'transmission' group. This also for the "Download" folder which is my "uncompleted files" dir
I was also careful to stop/restart the service and write to the proper config file (the settings are read properly).

From the logs I still get

Aug 13 12:28:12 mirkarch transmission-daemon[899]: [2015-08-13 12:28:12.652 CEST] Couldn't create "/home/mirko/shared": Permission denied (utils.c:424)
Aug 13 12:29:07 mirkarch transmission-daemon[899]: [2015-08-13 12:29:07.652 CEST] Couldn't create "/home/mirko/Downloads": Permission denied (utils.c:424)

but the two folders (shared and Dowloads) are already there. Does this mean that the parent folder (mirko) has to be set with write permissions for the transmission group ?

Theese are the permissions settings

[mirko@mirkarch ~]$ ls -la Downloads/
total 8
drwxrwxr-x  2 mirko transmission 4096 Aug 12 17:27 .
drwx------ 20 mirko mirko        4096 Aug 13 12:37 ..

[mirko@mirkarch ~]$ ls -la shared/
total 400692
drwxrwx---  9 mirko        transmission      4096 Aug 12 17:26 .
drwx------ 20 mirko        mirko             4096 Aug 13 12:37 ..

Last edited by stilllife00 (2015-08-13 13:04:14)

Offline

#2 2015-08-13 13:03:03

stilllife00
Member
Registered: 2015-08-13
Posts: 7

Re: [Solved] Transmission daemon permission error

The mistake was to not set the "readable" bit on the "mirko" folder.
So I've changed the structure to

-- home/mirko/  (775 mirko mirko)
   -- tor/ (775 mirko transmission)

and transmission was able to write "incomplete" and "done" folders within the "tor" folder

Last edited by stilllife00 (2015-08-13 13:05:50)

Offline

Board footer

Powered by FluxBB