Outputs error message if user does not have permission to create directory