The situation does not change significantly if a flat is rented out. Tenants usually only have responsibility:
under statute, as 'occupiers', for the cleanliness of the common areasiCivic Government (Scotland) Act 1982, section 92.
under a typical tenancy agreement, for minor repairs to the flat's interior decoration and for damage caused by the tenant's negligence, or the negligence of any person the tenant has invited into the property.