Couchpotato cannot rename/ move files and folders from Torrent download folder
I don't use NZBs to download content but good old torrent and have set it to Transmission. The download works fine but then the renaming and moving to another folder on my HDA does not work.
I see the following error in the logs of Couchpotato:
OSError: [Errno 13] Permission denied: '/var/hda/files/torrents/FOLDERNAME/FILENAME'
I would really love this to work as the renaming feature of Couch Potato is amazing and would clean up my movie database in a swiffy ;)
#3 Updated by achmetinternet about 9 years ago
I have checked the settings and I do not see an option related to that. I put correctly the path to where the files should be moved but I assume the Apache user (?) does not have the permission to these folder or something? I have a similar issue unsolved with MiniDLNA whereby I can watch Pictures and Music on my WDTV Live but no Movies.
#5 Updated by achmetinternet about 9 years ago
Okay, now I think I got the issue but not sure how to fix it. My old issue #953 where cpg discussed with me that the transmission-deamon is running as root is related to this. I need Transmission to store the files with such permission that I can remove or delete them or another program like CouchPotato.
Here is a post I found but I do not entirely understand if it will solve my problem.
I also attach a picture where you can see files that I have just moved into the torrents folder where I have firstadmin:users permission and then a strange www-data:users for the files created by transmission. And even funnier is that after I reinstalled Transmission as a one-click app the newest downloads have the following permission: debian-transmission:debian-transmission!
And after re-install the Transmission server disappeared from the Dashboard.
Will add screens in a second.
#6 Updated by achmetinternet about 9 years ago
- File changing permissions.jpg View added
- File 2 no transmission server.jpg View added
- File 1 transmission installed.jpg View added
Oh and I forgot to add that CouchPotato is able to add movies to transmission for download with my user and PW but cannot move them.
#7 Updated by bigfoot65 about 9 years ago
I checked the app and there is no server feature for Transmission. As for folder permissions, I am unsure what is going on. I have not made any changes other than adding to the cron job.
That would not affect permissions. I am wondering if there was a Transmission package update in Ubuntu that caused this behavior.
#8 Updated by bigfoot65 about 9 years ago
I made some changes. It looks like the Transmission package had changed for Ubuntu recently. Please uninstall and reinstall to see if that fixes your issues,.
The server feature will be absent for now. Once I can confirm everything else is working, I will dig into it.
#9 Updated by achmetinternet about 9 years ago
Ok, I saw the server there before uninstalling it so it definitely was a feature. On the other hand, what did the permissions trick for me was to set the umask=0 in the settings.json file. Now all new files are written with rwx permissions for the group. For the existing files I changed permissions via chmod. So unless there is something realyl nice and new in the new Transmission package I do not want to change it ;)
#10 Updated by bigfoot65 about 9 years ago
Understand. I need someone to test this before I close the bug. I will be checking on the server feature shortly. You must of initially installed this app when Ubuntu first went live. I am guessing it was changed shortly after to remove that feature do to it being broken.
I presume there is a umask line in the .json file, so I will modify that in the app as well. If there is anything I missed, please let me know.
#11 Updated by bigfoot65 about 9 years ago
Found guidance where it stated to set umask at 2. I set it to 0 as you indicated for your install. The server feature looks to be a lost cause as it does not generate a PID file. That is necessary for the feature to work.
I will keep researching it, but for now there will be no server feature.
#13 Updated by achmetinternet about 8 years ago
Will check it on the newer HDA I installed for my boss. On my old HDA the permissions issue was solved by the umask setting in the settings.json file but I fiddled so much around on my old HDA...which is why I want to verify with the clean install on my boss' HDA. But please see the newest bug I posted on Transmission not running as a server or starting at startup, cf. https://bugs.amahi.org/issues/1053
Also available in: Atom