stephan: server/perl-kolab/Kolab-Conf Conf.pm,1.6,1.7

cvs at intevation.de cvs at intevation.de
Mon Apr 26 17:47:28 CEST 2004


Author: stephan

Update of /kolabrepository/server/perl-kolab/Kolab-Conf
In directory doto:/tmp/cvs-serv28283

Modified Files:
	Conf.pm 
Log Message:
Another fix for issue 88, include the .old file as well...


Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-Conf/Conf.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Conf.pm	26 Apr 2004 09:47:02 -0000	1.6
+++ Conf.pm	26 Apr 2004 15:47:26 -0000	1.7
@@ -65,6 +65,7 @@
     my $tmpfile = $prefix . '/etc/kolab/.tmp';
     copy($cfg, $oldcfg);
     chown($Kolab::config{'kolab_uid'}, $Kolab::config{'kolab_gid'}, $oldcfg);
+    chmod(0600, $oldcfg) if ($oldcfg =~ /openldap/);
 
     Kolab::log('T', "Creating new configuration file `$cfg' from template `$tmpl'");
 





More information about the commits mailing list