Search found 252 matches

by OneCD
March 24th, 2019, 2:04 pm
Forum: Feature Requests
Topic: separate permissions for files and folders?
Replies: 3
Views: 54

Re: separate permissions for files and folders?

Thanks @sander, I completely forgot about umask. :-[

I withdraw my request. ;D
by OneCD
March 22nd, 2019, 6:45 pm
Forum: Feature Requests
Topic: separate permissions for files and folders?
Replies: 3
Views: 54

separate permissions for files and folders?

Hello. :) Using SABnzbd 2.3.8 from Git source on Debian 9.8 and viewed with Firefox 65.0.1 The completed download permissions presently allow only one value: https://i.imgur.com/8PDlvri.png The problem is: SABnzbd is not creating files with the provided value. This value is used when creating direct...
by OneCD
March 21st, 2019, 1:43 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

Nicely done. :D
by OneCD
March 20th, 2019, 2:02 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

Yes, I used the Sherpa script. Excellent. If I ssh into the nas and run the script with bash shutdown.sh it works. As @sander mentioned above, you don't need to type: bash shutdown.sh ... if the script is executable and has a hashbang line. Assuming you’re already in the directory containing the sc...
by OneCD
March 19th, 2019, 2:21 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

I have disabled the admin user in QTS... That's not a good idea. Your NAS is no better secured and it creates other issues, particularly when you’re trying to fix things. ;) How did you install SABnzbd? Sherpa script? Is there a way of running Sabnzbd as a less privileged user? For now, I'm only ab...
by OneCD
March 18th, 2019, 5:01 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

sander wrote:
March 18th, 2019, 3:50 pm
Maybe SABnzbd is running as a user with other, less rights? Maybe n o rights to run the script and/or to run /sbin/poweroff ?
In QTS, almost all apps run with $EUID = 0. It's not ideal. :(
by OneCD
March 18th, 2019, 4:51 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

I created a new script called [testoff.sh] and placed it into my scripts directory. This is on a TS-559 Pro+ running QTS 4.2.6 #20181227. This script contains: #!/usr/bin/env bash poweroff Made it executable: chmod +x testoff.sh Then selected this script to be run when queue completes. Works fine. W...
by OneCD
March 18th, 2019, 2:17 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

Okiedoke, just had a look at the SAB code. These snippets are from [sabnzbd/powersup.py]: try: import dbus HAVE_DBUS = True except ImportError: HAVE_DBUS = False def linux_shutdown(): """ Make Linux system shutdown, never returns """ if not HAVE_DBUS: os._exit(0) QTS doesn't use DBUS, so SAB is unab...
by OneCD
March 18th, 2019, 2:11 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 197

Re: Trouble using scripts on Qnap NAS

Have you tried the "Shutdown PC" action?
by OneCD
March 17th, 2019, 2:37 pm
Forum: General Help
Topic: cherrypy and sql query errors
Replies: 27
Views: 579

Re: cherrypy and sql query errors

Both Windows 10 (1809) and Server 2019 (1809) automatically delete temporary files that "apps aren't using". There is no apparent configuration parameter to tune this functionality beyond turning it on and off. The setting is buried under storage management along with a bunch of other storage relat...
by OneCD
March 8th, 2019, 2:18 pm
Forum: Debian/Ubuntu Package
Topic: how run SABnzbd git version as a daemon / service?
Replies: 5
Views: 239

Re: how run git version as a daemon / service?

jcfp wrote:
March 8th, 2019, 7:21 am
This only works if you put in a native systemd service yourself, the package doesn't ship one.
Well, we're discussing the git version, not the package, so there's: https://github.com/sabnzbd/sabnzbd/blob ... 40.service
by OneCD
March 8th, 2019, 4:07 am
Forum: Debian/Ubuntu Package
Topic: how run SABnzbd git version as a daemon / service?
Replies: 5
Views: 239

Re: how run git version as a daemon / service?

sander wrote:
March 8th, 2019, 3:52 am
A "sudo service sabnzbdplus restart" does start the git version, but it ends quickly in a Signal 2:
On my Debian 9.8, this is:

Code: Select all

sudo systemctl restart [email protected]<my user name>.service
by OneCD
February 12th, 2019, 4:28 pm
Forum: Feature Requests
Topic: extend functionality of 'Add' button?
Replies: 0
Views: 185

extend functionality of 'Add' button?

Using SABnzbd 2.3.7 on Debian 9.7 and viewed with Firefox 65.0 This suggestion is primarily about the "Upload NZB" 'Add' button, but could be extended to the "Fetch NZB from URL" 'Add' button too. Current behavior is: if no file has been selected and the 'Add' button is clicked: https://i.imgur.com/...
by OneCD
February 7th, 2019, 2:12 am
Forum: Feature Requests
Topic: permit mixed-case category names?
Replies: 3
Views: 164

Re: permit mixed-case category names?

Ah, no worries. Thanks @safihre. 8)