Synology and DSM5 ACL

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
techabyte
Newbie
Newbie
Posts: 3
Joined: May 14th, 2014, 9:54 am

Synology and DSM5 ACL

Post by techabyte »

Hello.

I was hoping if anyone could give me a hand in pointing me to the correct location.

Issue:
At the moment I am using Synology DSM 5 and it currently is using ACL. Problem there is everytime sab touches/creates folder and files it looses inherit permissions. Its annoying as hell but I think if I add a single line of code for example:

Code: Select all

-enforce-inherit $folder/$name
Im wondering, under scripts there is "Default". Where is this file? is that postproc.py? If so is it possible (So I dont touch default files so updating doesn't get effected) to copy the default post processing to another file and adding my line of code so that it will run after it finishes processing.

If anyone could just point me in the right direction, much would be appreciated.

- tech
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Synology and DSM5 ACL

Post by shypike »

Please read the section on user scripts.
http://wiki.sabnzbd.org/user-scripts
Here's how to enable script choice: http://wiki.sabnzbd.org/configure-folders-0-7
techabyte
Newbie
Newbie
Posts: 3
Joined: May 14th, 2014, 9:54 am

Re: Synology and DSM5 ACL

Post by techabyte »

Iv already seen the page and know where to put scripts in which folder, already pointed it to sickbeard autoproccess scripts, I just want to view what script / commands its running when you leave it on "Default" PP script.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Synology and DSM5 ACL

Post by shypike »

It will use the script setup for the category.
See Config->Category.
Of course you can also set a default script for the default category.
techabyte
Newbie
Newbie
Posts: 3
Joined: May 14th, 2014, 9:54 am

Re: Synology and DSM5 ACL

Post by techabyte »

Image

Say I want to see the contents of the file of "default" that I have highlighted. Possible to see it? if so could you point me to its location?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Synology and DSM5 ACL

Post by shypike »

The default for the default category is : no script.
Per category you can use the script of the Default category or a specific one.
Per NZB you can use the script of the selected category or a specific one.
Showing what the default script is (per NZB that is) would defeat its purpose.
Post Reply