Farmers are allowed to own guns under Australian law because they have a legitimate need to use them to kill feral pests and predators or sick or injured livestock. But automatic and semi-automatic rifles and shotguns are banned from public ownership.
Source: Los Angeles Times May 11, 2018 05:08 UTC