diff --git a/gio/ChangeLog b/gio/ChangeLog index fc10a3336..0b83fad51 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,11 @@ +2008-08-08 Loïc Minier + + Bug 535124 – umask 002 not being applied for new directories, new + files get the correct umask + + * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of + 0755 as umask + 2008-08-08 Tor Lillqvist * gwin32mount.c: Remove unused code. Whitespace cleanup. diff --git a/gio/glocalfile.c b/gio/glocalfile.c index 634a38a21..3b5f24d19 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -1992,7 +1992,7 @@ g_local_file_make_directory (GFile *file, { GLocalFile *local = G_LOCAL_FILE (file); - if (g_mkdir (local->filename, 0755) == -1) + if (g_mkdir (local->filename, 0777) == -1) { int errsv = errno;