fix wrong rights when creating rep_mode.conf;

.