steffen: server/perl-kolab/Kolab-Conf Conf.pm,1.64,1.65
cvs at intevation.de
cvs at intevation.de
Tue Oct 18 14:24:58 CEST 2005
Author: steffen
Update of /kolabrepository/server/perl-kolab/Kolab-Conf
In directory doto:/tmp/cvs-serv17343/Kolab-Conf
Modified Files:
Conf.pm
Log Message:
Backup files must be owned by root, its safer and postfix wont complain anymore
Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-Conf/Conf.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- Conf.pm 3 Oct 2005 01:06:58 -0000 1.64
+++ Conf.pm 18 Oct 2005 12:24:56 -0000 1.65
@@ -199,7 +199,9 @@
my $oldmask = umask 077;
copy($cfg, $oldcfg);
- chown($Kolab::config{'kolab_uid'}, $Kolab::config{'kolab_gid'}, $oldcfg);
+ #chown($Kolab::config{'kolab_uid'}, $Kolab::config{'kolab_gid'}, $oldcfg);
+ # To avoid warnings, the backup files must be owned by root
+ chown(0, 0, $oldcfg);
umask $oldmask;
#chmod(0600, $oldcfg) if ($oldcfg =~ /openldap/);
More information about the commits
mailing list