--- nettee-0.1.9.1/nettee.c.orig 2008-12-20 00:00:54 +0200 +++ nettee-0.1.9.1/nettee.c 2009-07-25 19:46:08 +0300 @@ -860,7 +860,7 @@ return 0; /* there may be no local output, subsequent commands must handle this*/ } else{ - output = open(name, O_CREAT | O_WRONLY | O_TRUNC | FLOPT); + output = open(name, O_CREAT | O_WRONLY | O_TRUNC | FLOPT, S_IRUSR | S_IWUSR); } if(output == -1) { if(try_hard == 1) {