NSERC is the main funding body for research in science and engineering in Canada. It has an interesting policy on IP:
NSERC expects that any IP resulting from research it funds wholly or in part will be owned by the university or the inventor, according to university policy. Access to IP should be accorded to other sponsors in recognition of, and in proportion to, the sponsor’s contribution to the collaboration.
Alas, I must say that I violated this rule, against my will, in the past, but I will try harder to stick by it from now on.
The interesting question here is whether things like assigning copyright to a publisher are in violation of the funding body’s rules? Probably.
Academia really needs to get its act together with respect to IP as I’m not the only one who plays with grey areas…