1 2 3 4 5 6 7 8 9 10 11
--- trunk/src/tools/periph/dexeconfig.c 2008/03/28 14:01:17 1854 +++ trunk/src/tools/periph/dexeconfig.c 2008/03/30 22:58:55 1855 @@ -238,7 +238,7 @@ exit(1); } close(fd); - fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC); + fc = creat(cfile, S_IWUSR | S_IRUSR); if (fc < 0) { perror("cannot open config file"); exit(1);