diff -u -r src.org/tools/periph/dexeconfig.c src/tools/periph/dexeconfig.c --- src.org/tools/periph/dexeconfig.c 2010-06-10 06:48:00.000000000 +0400 +++ src/tools/periph/dexeconfig.c 2010-06-10 06:49:16.000000000 +0400 @@ -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_IRUSR | S_IWUSR); if (fc < 0) { perror("cannot open config file"); exit(1);