All persons who, on September 29, 1890, were actual settlers in good faith on any of the lands forfeited by section
904 of this title and were otherwise qualified, on making due claim on said lands under the homestead law within six months after the date of the promulgation by the Commissioner of the General Land Office of the instructions to the officers of the local land offices, for their direction in the disposition of said lands, shall be entitled to a preference right to enter the same under the provisions of the homestead law and sections
904 to
907 of this title, and shall be regarded as such actual settlers from the date of actual settlement or occupation; and any person who prior to September 29, 1890, has not had the benefit of the homestead or preemption law, or who has failed from any cause to perfect the title to a tract of land theretofore entered by him under either of said laws, may make a second homestead entry under the provisions of sections
904 to
907 of this title. The Secretary of the Interior shall make such rules as will secure to such actual settlers these rights: Provided, That nothing herein shall extend any time or enlarge any rights given by sections
904 to
907 of this title to any railroad company.