glob: work when intermidiate dirs are not readable

If /a/b/c exists, but directory 'a' has 'x' but not 'r'
permissions, we should still be able to glob /a/b/*

Signed-off-by: Steve Bennett <steveb@workware.net.au>