Page 1 of 1

Failed items in version 6 like version 5

Posted: June 9th, 2011, 3:39 pm
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

Re: Failed items in version 6 like version 5

Posted: June 9th, 2011, 5:25 pm
by shypike
No, the option doesn't exist.
Why do you want it to?

Re: Failed items in version 6 like version 5

Posted: June 9th, 2011, 5:39 pm
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

Re: Failed items in version 6 like version 5

Posted: June 10th, 2011, 10:09 am
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.

Re: Failed items in version 6 like version 5

Posted: June 11th, 2011, 11:59 am
by groentebroer
Oke, thanks!

This also works for me.

Very nice.

Groentebroer

Re: Failed items in version 6 like version 5

Posted: June 11th, 2011, 2:27 pm
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.