Made ninjahelper create files in /etc/backup.d with mode 600 instead of 000
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Fri, 4 Nov 2005 23:35:29 +0000 (23:35 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Fri, 4 Nov 2005 23:35:29 +0000 (23:35 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@218 758a04ac-41e6-0310-8a23-8373a73cc35d

ChangeLog
handlers/ldap.helper
handlers/mysql.helper
handlers/pgsql.helper
handlers/rdiff.helper
handlers/sys.helper

index 78c2a1ceb986d1b5d1307954ccaea32139e20359..7252a350a9cd09df6e3bcc2e50b375288c16dec3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ version 0.9.1 -- unreleased
        rdiff handler does not require 'label' (for real this time?)
        added makecd ninjahelper
                (thanks to Stefani stefani@riseup.net)
+       made ninjahelper create files with mode 600 rather than 000
 
 version 0.9 -- October 19 2005
        *** IMPORTANT CHANGE, UPGRADE AT ONCE ***
index 7670817d775b8d8568936e2ec151376338727dbd..838c731316fea2cbc4355e2d9de5779e9b338874 100644 (file)
@@ -44,7 +44,7 @@ $passwordfile
 # conf = /etc/ldap/slapd.conf
 # databases = all
 EOF
-     chmod 000 $next_filename
+     chmod 600 $next_filename
      return
 done
 }
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() {
index 8f9a8d4e0a6a50270627ef5de2e44651e29a695a..8baa39f7ee01a6ab5cf4f278f7d478b73b48b4eb 100644 (file)
@@ -84,6 +84,6 @@ $pgsql_databases
 $pgsql_compress
 
 EOF
-   chmod 000 $next_filename
+   chmod 600 $next_filename
 
 }
index 066d53aecc3e663e23aaa6731a41aa5db79b979e..b68a70e71a31cfd9aa1cda1b6f89a7c1c88a210e 100644 (file)
@@ -141,7 +141,7 @@ directory = $rdiff_directory
 host = $rdiff_host
 user = $rdiff_user
 EOF
-   chmod 000 $next_filename
+   chmod 600 $next_filename
 }
 
 rdiff_main_menu() {
index 060e96c200af6d3539bb2336cf0a8069846753cc..a984c0513371a4bb3ac9f28a7d646c8a0f8ce909 100644 (file)
@@ -27,6 +27,6 @@ $hardware
 # partitionsfile = /var/backups/partitions.__star__.txt
 # hardwarefile = /var/backups/hardware.txt
 EOF
-   chmod 000 $next_filename
+   chmod 600 $next_filename
 }