testing directory permissions