So taken literally it would imply that you could own guns if you were a part of a well regulated state militia, but the federal government and the states could ban firearm ownership for hunting or self-defence and still be constitutional.
Luckily for gun owners a 2008 decision by the Supreme Court extended the Second Amendment to cover private firearm ownership regardless of purpose.