Page 1 of 1

Full access to incomplete folder for external programs

Posted: January 17th, 2013, 2:42 pm
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)