In every society divided into classes, as is the present society, the ruling class has always restricted the dominated and exploited the right to education and study. What they give is only provided because it corresponds to ruling class interests.
Only in the second half of the sixties, when the growth of big business and mass consumption became necessary, access to education was facilitated and the public school opened to children of workers (comprehensive schools, liberalization of access to university, grants, low fees etc.. etc.).
Of course, the capitalist system has adopted such policies in response to struggles fought by the working class and large sections of the rebellious petty bourgeoisie. They still go on, — sometimes with difficulty — from various trade unions and leftist forces within the limits of compatibility with capital.