Made ninjahelper create files in /etc/backup.d with mode 600 instead of 000
[matthijs/upstream/backupninja.git] / handlers / mysql.helper
index 554464b12412570abb15f3b9969281f7a7b7da96..b7efe99d4455408a1354812478b1bb2dd95e10e5 100644 (file)
@@ -64,7 +64,7 @@ $compress
 # backupdir   = /var/backups/mysql
 # dbhost      = localhost
 EOF
-   chmod 000 $next_filename
+   chmod 600 $next_filename
 }
 
 mysql_wizard() {