The owner, locator or occupant of a mining claim, whether patented under the laws of the United States or held by location or possession, may have and acquire a right of way for ingress and egress, when necessary in working such mining claim, over and across the lands or mining claims of others, whether patented or otherwise.
Idaho Code § 47-901