browseDir: checking dir read perms