Permissions on parent folders not working?

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
mike234
Newbie
Newbie
Posts: 4
Joined: May 13th, 2008, 6:27 pm

Permissions on parent folders not working?

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Permissions on parent folders not working?

Post 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.
mike234
Newbie
Newbie
Posts: 4
Joined: May 13th, 2008, 6:27 pm

Re: Permissions on parent folders not working?

Post 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...
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Permissions on parent folders not working?

Post by switch »

How come it is going into complete/dd/ee? Is it due to TV episode sorting? Categories?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Permissions on parent folders not working?

Post 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?
mike234
Newbie
Newbie
Posts: 4
Joined: May 13th, 2008, 6:27 pm

Re: Permissions on parent folders not working?

Post 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.
Post Reply