Were Algerians able to freely move to European France before 1962?

Futurist

Ad Honoris
May 2014
21,013
SoCal
#1
Back when Algeria was a part of France (1830-1962), were Algerians able to freely move to European France and permanently stay there if they so desired? Or did France restrict the movement of Muslim Algerians in order to prevent too many of them from moving to European France?

I know that France prevented a lot of harkis (pro-French Algerian Muslims) from moving to European France after Algeria gained its independence in 1962--something that I certainly think was a mistake given that the harkis risked their lives and well-being for France in the Algerian War. However, what about beforehand? Was it easier for Muslim Algerians to move to European France in, say, 1950?