Print error messages instead of throwing an exception if permissions could not be set