gnome-control-center r8808 - trunk/capplets/sound
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r8808 - trunk/capplets/sound
- Date: Mon, 28 Jul 2008 14:45:41 +0000 (UTC)
Author: hadess
Date: Mon Jul 28 14:45:41 2008
New Revision: 8808
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8808&view=rev
Log:
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
Modified:
   trunk/capplets/sound/ChangeLog
   trunk/capplets/sound/sound-theme.c
Modified: trunk/capplets/sound/sound-theme.c
==============================================================================
--- trunk/capplets/sound/sound-theme.c	(original)
+++ trunk/capplets/sound/sound-theme.c	Mon Jul 28 14:45:41 2008
@@ -615,7 +615,7 @@
 
 	/* 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 */
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]