[gnome-video-arcade] gva_get_user_data_dir(): Change directory permissions.



commit a058cbd9bd6397ca1e8078a67f43f7a1560bd12b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Jun 2 14:13:46 2011 -0400

    gva_get_user_data_dir(): Change directory permissions.
    
    Make the user data directory accessible only to the user.

 src/gva-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gva-util.c b/src/gva-util.c
index fa5ef6b..38b69b2 100644
--- a/src/gva-util.c
+++ b/src/gva-util.c
@@ -318,7 +318,7 @@ gva_get_user_data_dir (void)
                 user_data_dir = g_build_filename (
                         g_get_user_data_dir (), PACKAGE, NULL);
 
-                if (g_mkdir_with_parents (user_data_dir, 0777) < 0)
+                if (g_mkdir_with_parents (user_data_dir, 0700) < 0)
                         g_warning (
                                 "Unable to create %s: %s",
                                 user_data_dir, g_strerror (errno));



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