Failed items in version 6 like version 5

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
groentebroer
Newbie
Newbie
Posts: 40
Joined: July 1st, 2008, 8:47 am

Failed items in version 6 like version 5

Post by groentebroer »

Hi,

Version 6, has a new feature:
Failed jobs remain in the "temporary download folder" folder
Is it possible to re-enable how it worked in Sabnzbd++ version 5.(x)?
That is that failed items are moved to the completed downloads folder, with the prefix like _FAILED_.

I could not find it on the board already.

Thanks for the help.

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

Re: Failed items in version 6 like version 5

Post by shypike »

No, the option doesn't exist.
Why do you want it to?
groentebroer
Newbie
Newbie
Posts: 40
Joined: July 1st, 2008, 8:47 am

Re: Failed items in version 6 like version 5

Post by groentebroer »

SABnzb runs with another user account than I use for my network shares.

No problem because they are in the same group, so setting the permission 775 for the completed downloads, makes sure that I can write via SABnzb and via my Network share user.

This is not the case for the files that stay in the download folders. This results in not being able to delete, repair, etc. manually via my network share. (What I would like to do.)

I figured there would be 2 solutions:

1. Set it back like it was in 5.x, but I could not find this option and now you confirmed that it is not possible.
2. Create a feature request to be able to set the permission of the "download" folder. (And probably also for the files placed in the ".nzb Backup Folder".)

Will this option become available or do I have to request this feature? (Somewhere else on this board probably?)

Thanks,

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

Re: Failed items in version 6 like version 5

Post by shypike »

An option is to patch the source code.
Open SABnzbd.py and disable lines 280/281.
    prev= os.umask(0)
    os.umask(prev and int('077',8))
so that they read
    #prev= os.umask(0)
    #os.umask(prev and int('077',8))
It will now just use the umask value you set for the account.
groentebroer
Newbie
Newbie
Posts: 40
Joined: July 1st, 2008, 8:47 am

Re: Failed items in version 6 like version 5

Post by groentebroer »

Oke, thanks!

This also works for me.

Very nice.

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

Re: Failed items in version 6 like version 5

Post by shypike »

The limiting umask setting was added to protect the sabnzbd.ini file from other users on a system.
It contains passwords after all.
Post Reply