SU - minor update to check_directory_permissions.