diff -up nettee-0.1.9/nettee.c.open nettee-0.1.9/nettee.c --- nettee-0.1.9/nettee.c.open 2008-10-31 19:11:42.000000000 +0100 +++ nettee-0.1.9/nettee.c 2008-11-07 17:33:00.858951352 +0100 @@ -865,7 +865,7 @@ static int open_outfile(int try_hard) 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) {