Dot Folders

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
s0rce
Newbie
Newbie
Posts: 8
Joined: June 25th, 2011, 7:51 pm

Dot Folders

Post by s0rce »

I'm trying to have SAB store incomplete and archived nzb folders in folders "/data/downloads/.incomplete" and "/data/downloads/.nzb", respectively. However, every time SAB restarts it seems to loose these folders and revert to the default.

I want to hide them from my network streaming device since they just clutter up the menu. I don't want to put them in a different place since this folder, downloads, is similiar to a partition (I'm using ZFS) and moving files around takes longer between ZFS folders.

I'm running SABnzbd 0.6.6 on Solaris 11 Express with Python 2.6.4.

Has anyone else seen this problem on *nix?

Thanks very much,
s0rce
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Dot Folders

Post by shypike »

Leading and trailing dots are removed from paths,
because they tend to cause problems on (especially) networked shares.
We try to deliver a solution that works on the majority of platforms.
s0rce
Newbie
Newbie
Posts: 8
Joined: June 25th, 2011, 7:51 pm

Re: Dot Folders

Post by s0rce »

Thanks very much for your quick response, hope I didn't miss that in an FAQ somewhere.

No way around this I assume?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Dot Folders

Post by shypike »

We cannot get everything in a FAQ, even supposing anyone reads it before posting :)
Probably no work-around, although I don't recall doing this specifically for
the base folders.
I'll check the code.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Dot Folders

Post by shypike »

I checked and there's nothing in the code that removes leading dots.
Testing on Ubuntu results in an .incomplete folder being created
and maintained after several restarts.
Are you sure this isn't a Solaris or ZFS issue?
s0rce
Newbie
Newbie
Posts: 8
Joined: June 25th, 2011, 7:51 pm

Re: Dot Folders

Post by s0rce »

Well it seems to work now. Who knows. Thanks for checking on linux.
Post Reply