A homeless man who built a wooden shack in the Templeton woods on a slice of land he claimed no one owned has been arrested for trespassing.