[Categories] Using hidden folder prints error

Report & discuss bugs found in 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
Walter Sobchak
Newbie
Newbie
Posts: 3
Joined: September 19th, 2011, 3:06 am

[Categories] Using hidden folder prints error

Post by Walter Sobchak »

I tried to set a hidden folder for the pr0n category like this ".xxx". When saving I get the error:

Code: Select all

Cannot create dir folder /usr/bin/.xxx 
However, the setting is correctly saved. When clicking "back" the ".xxx" folder is set for the default category also. I have to manually remove it there and save the default category.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: [Categories] Using hidden folder prints error

Post by sander »

The problem is the location of the (hidden) directory: /usr/bin is a place for binaries (=programs), not for data (even not pr0n), so probably SAB / you don't have write-rights there.

So, if you want to solve this, choose a normal directory where you / SAB has writing rights.

HTH
Walter Sobchak
Newbie
Newbie
Posts: 3
Joined: September 19th, 2011, 3:06 am

Re: [Categories] Using hidden folder prints error

Post by Walter Sobchak »

sab should not even try to assume /usr/bin as it clearly prints out:
Relative folders are based on: /home/xbmc/Downloads
So it uses the entered folder ".xxx" correctly but prints this error message. I hope I made myself clear this time :) The downloads for that cat go into "/home/xbmc/Downloads/.xxx" after I clicked "back" on the error message page.
I am very well aware, that /usr/bin is not the place I would place downloads in. Its just sab that throws that directory in the mix, I have never configured this anywhere.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [Categories] Using hidden folder prints error

Post by shypike »

Hard to tell what goes wrong in your case,
but a work-around is to use full paths, like /home/xbmc/Downloads/.xxx
Walter Sobchak
Newbie
Newbie
Posts: 3
Joined: September 19th, 2011, 3:06 am

Re: [Categories] Using hidden folder prints error

Post by Walter Sobchak »

shypike wrote:Hard to tell what goes wrong in your case,
but a work-around is to use full paths, like /home/xbmc/Downloads/.xxx
I tried this too of course. I will record a video of the faulty behaviour.

Please see the video here:
http://www.filedropper.com/sabhiddenfolder
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [Categories] Using hidden folder prints error

Post by shypike »

Sorry, I cannot reproduce your problem at all.
Which version are you using?
You claim of an error message when saving the category folder is suspect.
Recent versions of SABnzbd delay category folder creation to when they are needed.
Therefore not when saving in Config->Categories.
Post Reply