Page 1 of 1

Synology and DSM5 ACL

Posted: May 14th, 2014, 10:08 am
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

Re: Synology and DSM5 ACL

Posted: May 14th, 2014, 1:44 pm
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

Re: Synology and DSM5 ACL

Posted: May 14th, 2014, 10:24 pm
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.

Re: Synology and DSM5 ACL

Posted: May 15th, 2014, 2:24 am
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.

Re: Synology and DSM5 ACL

Posted: May 15th, 2014, 2:52 am
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?

Re: Synology and DSM5 ACL

Posted: May 15th, 2014, 7:18 am
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.