Files permission after end of download (rtorrent + sonarr)


#1

Hey,

I have a problem when sonarr has finished downloading. He copies the file to the sonarr folder but does not delete the file where rtorrent downloaded it.

I have tried to change permission in ssh to my folders (tv + movies but i have this all the time)
Here is my log in Sonarr :

MediaFileAttributeService Unable to apply permissions to: /home/kerpedo/torrents/rtorrent/tv/Wayward Pines/Season 1/Wayward Pines.S01E01.FASTSUB.VOSTFR.1080p.WEB-DL.DD5.1.H.264-IMPERIUM.mkv: Error setting file owner and/or group: EPERM 6:34pm

MediaFileAttributeService Unable to apply permissions to: /home/kerpedo/torrents/rtorrent/tv/Wayward Pines/Season 1: Error setting file owner and/or group: EPERM

I think i need a ssh command to give all acces to new file/folder to all groups, but i dont find how to do it
Thanks you!


#2

this is actually intentional from sonar its so you can have your file renamed and keep seeding.


#3

so how i managed this ?

When i manually set the permission to a current folder, the next episode are correctly moved

Its happen only when its a new show or season


#4

this is what i was refering to under the settings when you show advanced settings.


#5

Its was already checked :s


#6

just tested without this option checked and same result

if anyone have an idea, thanks


#7

anyone konw the shell command to give to all users/groups permission to create folders (and recursive) and create new folders/files to those folders

I think this is the key

thanks a lot


#8

chmod -R #### (files location) http://permissions-calculator.org/ use this to figure out ####

chown -R owner:group (location)

https://linux.die.net/man/1/chown