[gvfs/gnome-2-28] fuse: Request access::* as needed by file_info_get_stat_mode



commit 6dbaf17f99e36816cf229640244488034d03cea6
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Nov 26 15:51:01 2009 +0100

    fuse: Request access::* as needed by file_info_get_stat_mode
    
    Fixes bug #594791.
    (cherry picked from commit f2f50e72569406cfd974dcef6f293ebff3378f61)

 client/gvfsfusedaemon.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/client/gvfsfusedaemon.c b/client/gvfsfusedaemon.c
index 3893937..720af3b 100644
--- a/client/gvfsfusedaemon.c
+++ b/client/gvfsfusedaemon.c
@@ -784,7 +784,8 @@ getattr_for_file (GFile *file, struct stat *sbuf)
                                  G_FILE_ATTRIBUTE_TIME_MODIFIED ","
                                  G_FILE_ATTRIBUTE_TIME_ACCESS ","
                                  G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE ","
-                                 G_FILE_ATTRIBUTE_UNIX_BLOCKS,
+                                 G_FILE_ATTRIBUTE_UNIX_BLOCKS ","
+				 "access::*",
                                  0, NULL, &error);
 
   if (file_info)



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