From 2f22b9318e4160b47b70e2909210eb068c29ef4a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 28 Jul 2008 14:45:41 +0000 Subject: [PATCH] Fix permissions on the custom theme directory, otherwise not even the user 2008-07-28 Bastien Nocera * sound-theme.c (save_custom_theme): Fix permissions on the custom theme directory, otherwise not even the user can read the files in there svn path=/trunk/; revision=8808 --- capplets/sound/ChangeLog | 6 ++++++ capplets/sound/sound-theme.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/capplets/sound/ChangeLog b/capplets/sound/ChangeLog index 23ac6e3df..13004b871 100644 --- a/capplets/sound/ChangeLog +++ b/capplets/sound/ChangeLog @@ -1,3 +1,9 @@ +2008-07-28 Bastien Nocera + + * sound-theme.c (save_custom_theme): Fix permissions on the + custom theme directory, otherwise not even the user can read the files + in there + 2008-07-28 Bastien Nocera * Makefile.am: diff --git a/capplets/sound/sound-theme.c b/capplets/sound/sound-theme.c index 98ce4772b..2fdd6c961 100644 --- a/capplets/sound/sound-theme.c +++ b/capplets/sound/sound-theme.c @@ -615,7 +615,7 @@ save_custom_theme (GtkTreeModel *model, const char *parent) /* Create the custom directory */ path = custom_theme_dir_path (NULL); - g_mkdir_with_parents (path, 0644); + g_mkdir_with_parents (path, 0755); g_free (path); /* Save the sounds themselves */