projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
25e9a9c
)
Made ninjahelper create files in /etc/backup.d with mode 600 instead of 000
author
Micah Anderson
<micah@riseup.net>
Fri, 4 Nov 2005 23:35:29 +0000
(23:35 +0000)
committer
Micah Anderson
<micah@riseup.net>
Fri, 4 Nov 2005 23:35:29 +0000
(23:35 +0000)
ChangeLog
patch
|
blob
|
history
handlers/ldap.helper
patch
|
blob
|
history
handlers/mysql.helper
patch
|
blob
|
history
handlers/pgsql.helper
patch
|
blob
|
history
handlers/rdiff.helper
patch
|
blob
|
history
handlers/sys.helper
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
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)
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 ***
version 0.9 -- October 19 2005
*** IMPORTANT CHANGE, UPGRADE AT ONCE ***
diff --git
a/handlers/ldap.helper
b/handlers/ldap.helper
index 7670817d775b8d8568936e2ec151376338727dbd..838c731316fea2cbc4355e2d9de5779e9b338874 100644
(file)
--- a/
handlers/ldap.helper
+++ b/
handlers/ldap.helper
@@
-44,7
+44,7
@@
$passwordfile
# conf = /etc/ldap/slapd.conf
# databases = all
EOF
# conf = /etc/ldap/slapd.conf
# databases = all
EOF
- chmod
0
00 $next_filename
+ chmod
6
00 $next_filename
return
done
}
return
done
}
diff --git
a/handlers/mysql.helper
b/handlers/mysql.helper
index 554464b12412570abb15f3b9969281f7a7b7da96..b7efe99d4455408a1354812478b1bb2dd95e10e5 100644
(file)
--- a/
handlers/mysql.helper
+++ b/
handlers/mysql.helper
@@
-64,7
+64,7
@@
$compress
# backupdir = /var/backups/mysql
# dbhost = localhost
EOF
# backupdir = /var/backups/mysql
# dbhost = localhost
EOF
- chmod
0
00 $next_filename
+ chmod
6
00 $next_filename
}
mysql_wizard() {
}
mysql_wizard() {
diff --git
a/handlers/pgsql.helper
b/handlers/pgsql.helper
index 8f9a8d4e0a6a50270627ef5de2e44651e29a695a..8baa39f7ee01a6ab5cf4f278f7d478b73b48b4eb 100644
(file)
--- a/
handlers/pgsql.helper
+++ b/
handlers/pgsql.helper
@@
-84,6
+84,6
@@
$pgsql_databases
$pgsql_compress
EOF
$pgsql_compress
EOF
- chmod
0
00 $next_filename
+ chmod
6
00 $next_filename
}
}
diff --git
a/handlers/rdiff.helper
b/handlers/rdiff.helper
index 066d53aecc3e663e23aaa6731a41aa5db79b979e..b68a70e71a31cfd9aa1cda1b6f89a7c1c88a210e 100644
(file)
--- a/
handlers/rdiff.helper
+++ b/
handlers/rdiff.helper
@@
-141,7
+141,7
@@
directory = $rdiff_directory
host = $rdiff_host
user = $rdiff_user
EOF
host = $rdiff_host
user = $rdiff_user
EOF
- chmod
0
00 $next_filename
+ chmod
6
00 $next_filename
}
rdiff_main_menu() {
}
rdiff_main_menu() {
diff --git
a/handlers/sys.helper
b/handlers/sys.helper
index 060e96c200af6d3539bb2336cf0a8069846753cc..a984c0513371a4bb3ac9f28a7d646c8a0f8ce909 100644
(file)
--- a/
handlers/sys.helper
+++ b/
handlers/sys.helper
@@
-27,6
+27,6
@@
$hardware
# partitionsfile = /var/backups/partitions.__star__.txt
# hardwarefile = /var/backups/hardware.txt
EOF
# partitionsfile = /var/backups/partitions.__star__.txt
# hardwarefile = /var/backups/hardware.txt
EOF
- chmod
0
00 $next_filename
+ chmod
6
00 $next_filename
}
}