summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/export.c b/src/dialogs/export.c
index c485fd7..e514511 100644
--- a/src/dialogs/export.c
+++ b/src/dialogs/export.c
@@ -178,7 +178,7 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref)
entry = GTK_ENTRY(g_object_get_data(ref, "filename"));
filename = gtk_entry_get_text(entry);
- fd = open(filename, O_CREAT | O_WRONLY);
+ fd = open(filename, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
if (fd == -1)
{
perror("open");