(2)The master of a ship and every person lawfully acting as a master of a ship by reason of the decease or incapacity from illness of the master of the ship shall, so far as the case permits, have the same rights, liens and remedies for the recovery of disbursements or liabilities property made or incurred by him on account of the ship as a master has for recovery of his wages.