Full access to incomplete folder for external programs

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
blade-runner
Newbie
Newbie
Posts: 46
Joined: August 17th, 2010, 10:44 am

Full access to incomplete folder for external programs

Post by blade-runner »

Today i noticed that i had some issues deleting stuff from incomplete folder after a failed download by an external program.

So i went searching for a solution after i first gave full access to everyone using chmod etc but that didn't worked.
Then i found this topic https://forums.sabnzbd.org/viewtopic.php?t=1719#p10713

And the solution is to patch SABnzbd.py to delete or comment out this line
line 286
from
os.umask(prev and int('077',8))

to
#os.umask(prev and int('077',8))

Does this also apply for version 0.7.9 and is this all that needs to be done?

Edit:
And change prev= os.umask(0) to prev= os.umask(002)
Post Reply