Index: gio/ChangeLog
===================================================================
--- gio/ChangeLog (revision 7316)
+++ gio/ChangeLog (working copy)
@@ -1,3 +1,11 @@
+2008-08-07  Loïc Minier  <lool@dooz.org>
+
+	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-06  Paul Pogonyshev  <pogonyshev@gmx.net>
 
 	* gthemedicon.c (g_themed_icon_get_property): Also handle
Index: gio/glocalfile.c
===================================================================
--- gio/glocalfile.c (revision 7316)
+++ gio/glocalfile.c (working copy)
@@ -1992,7 +1992,7 @@ g_local_file_make_directory (GFile      
 {
   GLocalFile *local = G_LOCAL_FILE (file);
   
-  if (g_mkdir (local->filename, 0755) == -1)
+  if (g_mkdir (local->filename, 0777) == -1)
     {
       int errsv = errno;
 
