[libgsystem] shutil: Ensure we create directories with correct mode



commit 1a9d727e115cf5f813dcb5761a65836b2aff4d1d
Author: Colin Walters <walters verbum org>
Date:   Sun Dec 2 23:01:56 2012 -0500

    shutil: Ensure we create directories with correct mode
    
    Kind of an evil regression...

 gsystem-shutil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsystem-shutil.c b/gsystem-shutil.c
index 44904a7..d38d7b4 100644
--- a/gsystem-shutil.c
+++ b/gsystem-shutil.c
@@ -41,7 +41,7 @@ cp_internal (GFile         *src,
   gs_lobj GFileInfo *file_info = NULL;
   GError *temp_error = NULL;
 
-  enumerator = g_file_enumerate_children (src, "standard::type,standard::name",
+  enumerator = g_file_enumerate_children (src, "standard::type,standard::name,unix::mode",
                                           G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
                                           cancellable, error);
   if (!enumerator)



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