mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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.
This commit is contained in:
parent
24b50606f9
commit
f9aff042b8
@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
* gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
|
||||
can return NULL; handle this. Fixes #129565.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
* gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
|
||||
can return NULL; handle this. Fixes #129565.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
* gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
|
||||
can return NULL; handle this. Fixes #129565.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
* gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
|
||||
can return NULL; handle this. Fixes #129565.
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
* gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
|
||||
can return NULL; handle this. Fixes #129565.
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user