Fix permissions on the custom theme directory, otherwise not even the user

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* 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
This commit is contained in:
Bastien Nocera 2008-07-28 14:45:41 +00:00 committed by Bastien Nocera
parent 2d9043878a
commit 2f22b9318e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-07-28 Bastien Nocera <hadess@hadess.net>
* 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 <hadess@hadess.net>
* Makefile.am:

View file

@ -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 */