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