Use folder permissions for opendir