In an action for partition, the costs of partition, in such proportion as the court trying the action shall adjudge to be paid by any party or parties to the action, shall be a lien upon the interest of any party or parties in the several shares assigned to the party or parties, and in addition to the mode of recovery now used, may be recovered by sale of the several shares upon execution, to be issued in due form therefor in favor of the party or parties who may, by payment of the costs, be entitled to recover the costs.
R.I. Gen. Laws § 34-15-23