Skip to content
Snippets Groups Projects
Commit e005e25e authored by micah's avatar micah :speech_balloon:
Browse files

Made ninjahelper create files in /etc/backup.d with mode 600 instead of 000

parent 25e9a9cb
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ version 0.9.1 -- unreleased ...@@ -5,6 +5,7 @@ version 0.9.1 -- unreleased
rdiff handler does not require 'label' (for real this time?) rdiff handler does not require 'label' (for real this time?)
added makecd ninjahelper added makecd ninjahelper
(thanks to Stefani stefani@riseup.net) (thanks to Stefani stefani@riseup.net)
made ninjahelper create files with mode 600 rather than 000
version 0.9 -- October 19 2005 version 0.9 -- October 19 2005
*** IMPORTANT CHANGE, UPGRADE AT ONCE *** *** IMPORTANT CHANGE, UPGRADE AT ONCE ***
......
...@@ -44,7 +44,7 @@ $passwordfile ...@@ -44,7 +44,7 @@ $passwordfile
# conf = /etc/ldap/slapd.conf # conf = /etc/ldap/slapd.conf
# databases = all # databases = all
EOF EOF
chmod 000 $next_filename chmod 600 $next_filename
return return
done done
} }
......
...@@ -64,7 +64,7 @@ $compress ...@@ -64,7 +64,7 @@ $compress
# backupdir = /var/backups/mysql # backupdir = /var/backups/mysql
# dbhost = localhost # dbhost = localhost
EOF EOF
chmod 000 $next_filename chmod 600 $next_filename
} }
mysql_wizard() { mysql_wizard() {
......
...@@ -84,6 +84,6 @@ $pgsql_databases ...@@ -84,6 +84,6 @@ $pgsql_databases
$pgsql_compress $pgsql_compress
EOF EOF
chmod 000 $next_filename chmod 600 $next_filename
} }
...@@ -141,7 +141,7 @@ directory = $rdiff_directory ...@@ -141,7 +141,7 @@ directory = $rdiff_directory
host = $rdiff_host host = $rdiff_host
user = $rdiff_user user = $rdiff_user
EOF EOF
chmod 000 $next_filename chmod 600 $next_filename
} }
rdiff_main_menu() { rdiff_main_menu() {
......
...@@ -27,6 +27,6 @@ $hardware ...@@ -27,6 +27,6 @@ $hardware
# partitionsfile = /var/backups/partitions.__star__.txt # partitionsfile = /var/backups/partitions.__star__.txt
# hardwarefile = /var/backups/hardware.txt # hardwarefile = /var/backups/hardware.txt
EOF EOF
chmod 000 $next_filename chmod 600 $next_filename
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment