--- hydra-5.4-src/hydra-gtk/src/callbacks.c 2005-09-22 19:19:27 +0400 +++ hydra-5.4-src/hydra-gtk/src/callbacks.c.new 2008-12-15 01:16:12 +0300 @@ -663,7 +663,7 @@ on_btnSave_clicked ( text = gtk_text_buffer_get_text(outputbuf, &start, &end, TRUE); - fd = open(filename, O_CREAT | O_TRUNC | O_WRONLY); + fd = open(filename, O_CREAT | O_TRUNC | O_WRONLY, 0777); if ( fd > 0 ) { write(fd, text, strlen(text)); close(fd);