Fix Permission of cfg_file on boot