Closed imran0 closed 6 years ago
Yes it works for new and existing downloads
Does anyone can give us all the members in each group. I played with users and groups and I don’t know if my groups has correct users inside.
Thanks
@LtMarx
Sorry to be a pain but could you give all relevant info on rights and owners for each folder maybe?
No worries.
That did the trick for me
Okay, I think I figured out the issue. RAR files maintain the permissions of whomever packaged the files, and uploaded to the Newsgroup. These original permissions are what is causing issues with importing. In NZBget, you can change the Unrar command to "Ignore file attributes (permissions)", by adding a "x -ai" to the UnrarCmd field in the UNPACK section of NZBGet. After making these changes, all downloads, including the random character files began to correctly inherit the permissions of my "Completed" Directory, and Sonarr imported with no issues. Hope this helps!
Ok I’m trying. I’ll feeback on a few days
@Hutsoncap It's a little early to say that's definitely fixed it for me but so far so good. Not had a failure since adding that switch.
seems to be working, no import problems since adding the switch
confirm that it is working
i found a fix but have to do this on regular basis, seems like I am losing the permissions from time to time. I did the following:
right click on folder
select properties
put owner: admin
put group: sc-download
check "apply to folder..."
click on Permission
tick all and even if all is ticked, tick "Apply to this folder..."
click OK
this worked for me
The problem is that you did not convert the shared folder to support ACL's. Read this and especially the last part. https://github.com/SynoCommunity/spksrc/wiki/Permission-Management
Okay, I think I figured out the issue. RAR files maintain the permissions of whomever packaged the files, and uploaded to the Newsgroup. These original permissions are what is causing issues with importing. In NZBget, you can change the Unrar command to "Ignore file attributes (permissions)", by adding a "x -ai" to the UnrarCmd field in the UNPACK section of NZBGet. After making these changes, all downloads, including the random character files began to correctly inherit the permissions of my "Completed" Directory, and Sonarr imported with no issues. Hope this helps!
Works for me!
I know I am coming to the party way late....I have a Synology DS1019+ and have the synocommunity NZBget, Sonarr, and Radarr (not even trying this until Sonarr works) installed. If I do a normal add NZB manually it will download and unrar fine and save in a "completed" directory and I can move it manually. If I do something through Sonarr it will send it to NZBget and download it but fails on the unrar (Unpack for file name here failed. Also shows Unrar error code: 9 and Could not create directory /Public/tv/file name here/_unpack: could not create directory). I added the switch "x -ai" no change. I have my downloads directory set to admin (now but also tried sc-download) as owner. sc-download, sc-radarr, sc-nzbdrone, sc-nzbget all have rw to the download directory. I see a post up further talking about owner = admin group = sc-download (I do not see the group option. I can tell by the errors it is a permissions issue just can not figure it out. I am really trying to get this to work because my dl speeds when using this set up is over 100MBPS vs my windows setup used for years is no more the 40MBPS.
Setup
Package Name: Sonarr Package Version: 20180303-13 (inside app this is version 2.0.0.5163)
NAS Model: Synology DS212+ NAS Architecture: ? DSM version: DSM 5.0-4482
Expected behavior
Sonarr should import folder from /volume1/Downloads/Completed -> /volumeUSB2/usbshare/video/TV Shows
Actual behavior
The following error is displayed for a show:
Couldn't import episode /volume1/Downloads/Completed/Series/Billions.S03E01.720p.WEB.H264-DEFLATE/f798e91152b843858196fcf16b2a30b0.mkv: Access to the path is denied.
In debug logs this error is logged:
--
Steps I've taken: I have have given access to volumeUSB2 and Downloads to both sc-downloads and sc-media groups. I have even gone into the individual users (sc-nzbdrone) and given it access to those folders.
Please advise