1020. Each undivided co-owner is entitled to be reimbursed for necessary disbursements he has made to preserve the undivided property. For other authorized disbursements, he is entitled, at partition, to compensation equal to the increase in value given to the property.
Conversely, each undivided co-owner is accountable for any loss which by his doing decreases the value of the undivided property.