Page 1 of 1

Permissions on parent folders not working?

Posted: May 13th, 2008, 6:30 pm
by mike234
Beta 5 claims to set the permissions on parent folders of downloads. It doesn't seem to be working. This is under Ubuntu Linux (8.04). I have the permission setting set to 0775. The folder that the file is in is set properly, but nothing above it. Has anyone else tried to use this new feature?

Re: Permissions on parent folders not working?

Posted: May 14th, 2008, 1:41 am
by shypike
Suppose you set the "complete" directory to /aa/bb/cc/complete.
SABnzbd will only set permissions for "complete".
Not /aa/bb/cc. This is intentional, since it could be a security risk to set
rights for the whole path.

Re: Permissions on parent folders not working?

Posted: May 14th, 2008, 8:18 am
by mike234
My problem is that my complete directory is /aa/bb/cc/complete, and my download is going into /aa/bb/cc/complete/dd/ee. ee is set with the right permissions, but dd isn't (it's set to 0700). Maybe I misunderstood how this feature was supposed to work...

Re: Permissions on parent folders not working?

Posted: May 14th, 2008, 8:55 am
by switch
How come it is going into complete/dd/ee? Is it due to TV episode sorting? Categories?

Re: Permissions on parent folders not working?

Posted: May 14th, 2008, 12:58 pm
by shypike
The /dd/ part should get correct settings. If not, then there's an error in SABnzbd.
I will double check this. I assume that the /dd/ part comes from using user-category directories?

Re: Permissions on parent folders not working?

Posted: May 15th, 2008, 1:04 pm
by mike234
Sorry, I should have been more specific. It's TV episode sorting specifically in my case. I haven't tried anything with a new category directory yet.