glib r7323 - trunk/gio



Author: lminier
Date: Fri Aug  8 09:26:51 2008
New Revision: 7323
URL: http://svn.gnome.org/viewvc/glib?rev=7323&view=rev

Log:
2008-08-08  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


Modified:
   trunk/gio/ChangeLog
   trunk/gio/glocalfile.c

Modified: trunk/gio/glocalfile.c
==============================================================================
--- trunk/gio/glocalfile.c	(original)
+++ trunk/gio/glocalfile.c	Fri Aug  8 09:26:51 2008
@@ -1992,7 +1992,7 @@
 {
   GLocalFile *local = G_LOCAL_FILE (file);
   
-  if (g_mkdir (local->filename, 0755) == -1)
+  if (g_mkdir (local->filename, 0777) == -1)
     {
       int errsv = errno;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]