We explicitly compute the diffeomorphism group of several types of linear foliations (with dense leaves) on the torus T, n ≥ 2, namely codimension one foliations, flows, and the so-called nonquadratic foliations. We show in particular that non-quadratic foliations are rigid, in the sense that they do not admit transverse diffeomorphisms other than ±id and translations. The computation is an app...