When a defendant in execution shall own or be entitled to an undivided interest in any property not exclusively in his own possession, such interest may be levied on and sold by the sheriff without taking the property into actual possession, and such sale shall vest in the purchaser all the interest of the defendant in such property.