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:
committed by
Federico Mena Quintero
parent
24b50606f9
commit
f9aff042b8
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user