--- dosemu-1.4.0/src/tools/periph/dexeconfig.c.old 2007-05-04 07:59:48.000000000 +0200 +++ dosemu-1.4.0/src/tools/periph/dexeconfig.c 2007-11-14 08:54:34.000000000 +0100 @@ -238,7 +238,7 @@ exit(1); } close(fd); - fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC); + fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR | S_IRUSR); if (fc < 0) { perror("cannot open config file"); exit(1);