From: Eric Bollengier Date: Wed, 3 Feb 2010 09:03:57 +0000 (+0100) Subject: Correct .my.cnf umask in make_catalog_backup.pl X-Git-Tag: Release-5.2.1~1811 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1574cd21eaed4837acc16a134c4dbb99d7b56202;p=bacula%2Fbacula Correct .my.cnf umask in make_catalog_backup.pl --- diff --git a/bacula/src/cats/make_catalog_backup.pl.in b/bacula/src/cats/make_catalog_backup.pl.in index f3efec2f34..b4de65c419 100644 --- a/bacula/src/cats/make_catalog_backup.pl.in +++ b/bacula/src/cats/make_catalog_backup.pl.in @@ -89,7 +89,7 @@ sub dump_pgsql sub dump_mysql { my %args = @_; - umask(0700); + umask(0077); unlink("$wd/.my.cnf"); open(MY, ">$wd/.my.cnf") or die "Can't open $wd/.my.cnf for writing $@";