From d45b711f84c2cd563a2996a9d3da1a757e6559ea Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 3 Feb 2010 10:03:57 +0100 Subject: [PATCH] Correct .my.cnf umask in make_catalog_backup.pl --- bacula/src/cats/make_catalog_backup.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@"; -- 2.39.5