summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-01-06 20:34:47 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-01-06 20:34:47 +0000
commitf9aff042b8218ca18f8f892a0de295c1e3f0ae20 (patch)
tree8af848b1150045063071a54cf4c40a647af9373d /gtk/gtkfilesel.c
parent24b50606f9586ea30c3c1bb11e494d08b2479eaa (diff)
downloadgtk+-f9aff042b8218ca18f8f892a0de295c1e3f0ae20.tar.gz
Use 0777 as the mode for mkdir() and let the umask do the right thing.
2004-01-06 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use 0777 as the mode for mkdir() and let the umask do the right thing. Fixes #121819.
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 5253578d10..3962e4394d 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -1445,7 +1445,7 @@ gtk_file_selection_create_dir_confirmed (GtkWidget *widget,
goto out;
}
- if (mkdir (sys_full_path, 0755) < 0)
+ if (mkdir (sys_full_path, 0777) < 0)
{
buf = g_strdup_printf (_("Error creating folder \"%s\": %s\n"), dirname,
g_strerror (errno));