Sub-Directories

Seem to be having an issue with subdirectories. I have the following directories structure in the album directory.

MISC/
Sub ---> randk
sub ---> may5192005
sub ---> 80sparty
sub ---> MAY2007
sub ---> WT-BASH

All the directories show up but the pictures dont in any of the subdirectories except "randk" So I know I have GD working. I see the directories in the gallaries drop down list in the setup.

When I look at the created album_file_####.php files in the data directory I only see 2 when I should see one for each directory.

Also it seems that all the files created in the data directory have permissions of rw--r--r while the directory is 777. Do these files need to be X? If so how do we do this on linux and the umask is rw--r--r? The users www-data by default has the ability to create rw files for itself but not X.

As a test I used a prior release of phpAlbum. Version v0.3.2.6 works with the same directory structure but version 0.4.1.14-fix3 seems to have the issue.