Page 1 of 1

Dot Folders

Posted: August 2nd, 2011, 4:45 pm
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

Re: Dot Folders

Posted: August 2nd, 2011, 5:07 pm
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.

Re: Dot Folders

Posted: August 2nd, 2011, 5:11 pm
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?

Re: Dot Folders

Posted: August 2nd, 2011, 5:17 pm
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.

Re: Dot Folders

Posted: August 3rd, 2011, 1:45 pm
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?

Re: Dot Folders

Posted: August 3rd, 2011, 4:47 pm
by s0rce
Well it seems to work now. Who knows. Thanks for checking on linux.