Section 6. No lien shall attach to any land, building or structure thereon owned by the commonwealth, or by a county, city, town, water or fire district.