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.0.1~135 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d45b711f84c2cd563a2996a9d3da1a757e6559ea;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 $@";