I'd venture the "black paint" is pine tar. "Worm and parcel with the lay, turn and serve the other way..." Pine tar has a long history and association with sailors, from keeping the rigging waterproofed to their hair in place. They were not called 'jack tars' for nothing.