[Slim-Checkins] r8864 - /trunk/server/Slim/Utils/MySQLHelper.pm

dsully at svn.slimdevices.com dsully at svn.slimdevices.com
Tue Aug 8 11:44:49 PDT 2006


Author: dsully
Date: Tue Aug  8 11:44:48 2006
New Revision: 8864

URL: http://svn.slimdevices.com?rev=8864&view=rev
Log:
Bug: 3847
Description: Set the permissions of the my.cnf file explictly.

Modified:
    trunk/server/Slim/Utils/MySQLHelper.pm

Modified: trunk/server/Slim/Utils/MySQLHelper.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Utils/MySQLHelper.pm?rev=8864&r1=8863&r2=8864&view=diff
==============================================================================
--- trunk/server/Slim/Utils/MySQLHelper.pm (original)
+++ trunk/server/Slim/Utils/MySQLHelper.pm Tue Aug  8 11:44:48 2006
@@ -131,6 +131,9 @@
            $template->process($ttConf, \%config, $output) || die $template->error;
 
 	$class->confFile($output);
+
+	# Bug: 3847 possibly - set permissions on the config file.
+	chmod(0660, $output);
 }
 
 sub startServer {



More information about the checkins mailing list