The United States won permanent basing, overflight and undersea rights across Greenland and a bar on Chinese and Russian installations, while Denmark and Greenland kept sovereignty on paper and locked a future independent Greenland into the same deal.