diff --git a/m4/ax_mexopts.m4 b/m4/ax_mexopts.m4
old mode 100755
new mode 100644
diff --git a/m4/ax_slicot.m4 b/m4/ax_slicot.m4
old mode 100755
new mode 100644
diff --git a/mex/build/bytecode.am b/mex/build/bytecode.am
old mode 100755
new mode 100644
diff --git a/mex/build/dynare_simul_.am b/mex/build/dynare_simul_.am
old mode 100755
new mode 100644
diff --git a/mex/build/estimation.am b/mex/build/estimation.am
old mode 100755
new mode 100644
diff --git a/mex/build/gensylv.am b/mex/build/gensylv.am
old mode 100755
new mode 100644
diff --git a/mex/build/k_order_perturbation.am b/mex/build/k_order_perturbation.am
old mode 100755
new mode 100644
diff --git a/mex/build/kalman_steady_state.am b/mex/build/kalman_steady_state.am
old mode 100755
new mode 100644
diff --git a/mex/build/libdynare++.am b/mex/build/libdynare++.am
old mode 100755
new mode 100644
diff --git a/mex/build/matlab/mex.am b/mex/build/matlab/mex.am
old mode 100755
new mode 100644
diff --git a/mex/build/ms_sbvar.am b/mex/build/ms_sbvar.am
old mode 100755
new mode 100644
diff --git a/mex/build/octave/mex.am b/mex/build/octave/mex.am
old mode 100755
new mode 100644