glib r7330 - trunk/gio



Author: lminier
Date: Sat Aug  9 08:41:43 2008
New Revision: 7330
URL: http://svn.gnome.org/viewvc/glib?rev=7330&view=rev

Log:
2008-08-09  LoÃc Minier  <lool dooz org>

	Bug 535124 â umask 002 not being applied for new directories, new
	files get the correct umask

	* gfile.c (g_file_make_directory)
	(g_file_make_directory_with_parents): Document ownership and
	permissions of newly created directories as being the default
	ones of the process.


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

Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c	(original)
+++ trunk/gio/gfile.c	Sat Aug  9 08:41:43 2008
@@ -2705,6 +2705,9 @@
  * @error to %G_IO_ERROR_NOT_FOUND. If the file system doesn't support creating
  * directories, this function will fail, setting @error to 
  * %G_IO_ERROR_NOT_SUPPORTED.
+ *
+ * For a local #GFile the newly created directory will have the default
+ * (current) ownership and permissions of the current process.
  * 
  * If @cancellable is not %NULL, then the operation can be cancelled by
  * triggering the cancellable object from another thread. If the operation
@@ -2747,6 +2750,9 @@
  * 'mkdir -p'. If the file system does not support creating directories, this
  * function will fail, setting @error to %G_IO_ERROR_NOT_SUPPORTED.
  * 
+ * For a local #GFile the newly created directories will have the default
+ * (current) ownership and permissions of the current process.
+ * 
  * If @cancellable is not %NULL, then the operation can be cancelled by
  * triggering the cancellable object from another thread. If the operation
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 



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